prasule/lib/api/category.g.dart
2024-01-06 16:08:38 +01:00

23 lines
785 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'category.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
WalletCategory _$WalletCategoryFromJson(Map<String, dynamic> json) =>
WalletCategory(
name: json['name'] as String,
id: json['id'] as int,
icon: _iconDataFromJson(json['icon'] as Map<String, dynamic>),
color: _colorFromJson(json['color'] as int),
);
Map<String, dynamic> _$WalletCategoryToJson(WalletCategory instance) =>
<String, dynamic>{
'name': instance.name,
'id': instance.id,
'icon': _iconDataToJson(instance.icon),
'color': _colorToJson(instance.color),
};