AddressDto class
Краткое описание
Объект AddressDto представляет собой структуру данных, используемую
в API точках: /order/add, /order/addList и /order/update.
Описание полей:
- country - страна клиента.
- state - штат клиента.
- city - город клиента.
- district - название района.
- addressLine - адрес клиента.
- longitude - долгота.
- latitude - широта. li>comments - комментарий к заказу.
Методы:
- fromJson - Создает экземпляр
AddressDtoиз JSON-объекта. - toJson - Преобразует экземпляр
AddressDtoв JSON-объект.
- Annotations
-
- @JsonSerializable()
Constructors
- AddressDto({String? country, String? state, String? city, String? district, String? addressLine, double? longitude, double? latitude, String? comments})
-
AddressDto.fromJson(Map<
String, dynamic> json) -
factory
Properties
- addressLine → String?
-
final
- city → String?
-
final
- comments → String?
-
final
- country → String?
-
final
- district → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double?
-
final
- longitude → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
final
Methods
-
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