common_point_response.dart 481 B

1234567891011121314151617
  1. import 'package:json_annotation/json_annotation.dart';
  2. import 'package:location/data/bean/common_point_bean.dart';
  3. part 'common_point_response.g.dart';
  4. @JsonSerializable()
  5. class CommonPointResponse {
  6. @JsonKey(name: 'list')
  7. List<CommonPointBean>? list;
  8. CommonPointResponse({this.list});
  9. factory CommonPointResponse.fromJson(Map<String, dynamic> json) =>
  10. _$CommonPointResponseFromJson(json);
  11. Map<String, dynamic> toJson() => _$CommonPointResponseToJson(this);
  12. }