course-work/lib/models/courier.g.dart
2022-12-27 08:13:07 +03:00

22 lines
676 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'courier.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Courier _$CourierFromJson(Map<String, dynamic> json) => Courier(
name: json['name'] as String,
surname: json['surname'] as String,
id: json['id'] as int,
phone: json['phone'] as String,
);
Map<String, dynamic> _$CourierToJson(Courier instance) => <String, dynamic>{
'name': instance.name,
'surname': instance.surname,
'phone': instance.phone,
'id': instance.id,
};