2024-07-17 16:44:02 +02:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'debt_person.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2024-07-17 17:37:41 +02:00
|
|
|
DebtPerson _$DebtPersonFromJson(Map<String, dynamic> json) {
|
|
|
|
$checkKeys(
|
|
|
|
json,
|
|
|
|
requiredKeys: const ['id'],
|
|
|
|
disallowNullValues: const ['id'],
|
|
|
|
);
|
|
|
|
return DebtPerson(
|
|
|
|
id: (json['id'] as num).toInt(),
|
|
|
|
name: json['name'] as String? ?? 'Unknown',
|
2024-07-19 17:34:45 +02:00
|
|
|
bankAccount: json['bankAccount'] as String?,
|
2024-07-17 17:37:41 +02:00
|
|
|
);
|
|
|
|
}
|
2024-07-17 16:44:02 +02:00
|
|
|
|
|
|
|
Map<String, dynamic> _$DebtPersonToJson(DebtPerson instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'id': instance.id,
|
|
|
|
'name': instance.name,
|
2024-07-19 17:34:45 +02:00
|
|
|
'bankAccount': instance.bankAccount,
|
2024-07-17 16:44:02 +02:00
|
|
|
};
|