You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
558 B
27 lines
558 B
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'address.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class Address { |
|
Address(); |
|
|
|
@JsonKey(name: "address") |
|
String? addressStr; |
|
String? area; |
|
String? city; |
|
String? cityInfo; |
|
String? id; |
|
bool? isDefault; |
|
dynamic latitude; |
|
dynamic longitude; |
|
String? mid; |
|
String? phone; |
|
String? province; |
|
String? tag; |
|
String? username; |
|
|
|
factory Address.fromJson(Map<String, dynamic> json) => _$AddressFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$AddressToJson(this); |
|
}
|
|
|