forked from eatvio/eatvio_app
15 lines
445 B
Dart
15 lines
445 B
Dart
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'location_model.g.dart';
|
|
part 'location_model.freezed.dart';
|
|
|
|
@freezed
|
|
class LocationModel with _$LocationModel {
|
|
const factory LocationModel({
|
|
required Map<String, dynamic> locations,
|
|
@JsonKey(name: 'response_body')
|
|
required String responseBody,
|
|
}) = _LocationModel;
|
|
|
|
factory LocationModel.fromJson(Map<String, Object?> json) => _$LocationModelFromJson(json);
|
|
} |