AddressComponent class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AddressComponent.new({String? country, String? province, String? city, String? cityCode, String? district, String? adcode, String? township, String? townCode, Neighborhood? neighborhood, Building? building, StreetNumber? streetNumber, List<BusinessArea>? businessAreas})
const
AddressComponent.fromJson(Map<String, dynamic> json)
factory

Properties

adcode String?
final
building → Building?
final
businessAreas List<BusinessArea>?
final
city String?
final
cityCode String?
final
country String?
final
district String?
final
hashCode int
The hash code for this object.
no setterinherited
neighborhood → Neighborhood?
final
province String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streetNumber StreetNumber?
final
townCode String?
final
township String?
final

Methods

copyWith({String? country, String? province, String? city, String? cityCode, String? district, String? adcode, String? township, String? townCode, Neighborhood? neighborhood, Building? building, StreetNumber? streetNumber, List<BusinessArea>? businessAreas}) AddressComponent
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

nullableFromJson(dynamic value) AddressComponent?