Initial draft

This commit is contained in:
Dennis Nemec
2025-09-20 16:14:06 +02:00
commit b19a6e1cd4
219 changed files with 10317 additions and 0 deletions

24
lib/model/address.dart Normal file
View File

@ -0,0 +1,24 @@
import 'package:hl_lieferservice/dto/address.dart';
class Address {
const Address(
{required this.street,
required this.city,
required this.postalCode});
final String street;
final String postalCode;
final String city;
factory Address.fromDTO(AddressDTO dto) {
return Address(
street: dto.streetName,
city: dto.city,
postalCode: dto.postalCode);
}
@override
String toString() {
return "$street $postalCode $city";
}
}