prasule/lib/api/category.g.dart
Matyáš Caras 238caf9203
fix: make edit_categories actually edit categories
Also make sure home loads the wallet again after exiting settings. Also removed 'type' from Category, because I don't know what it was supposed to do there.
2023-12-31 12:41:10 +01:00

21 lines
689 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>),
);
Map<String, dynamic> _$WalletCategoryToJson(WalletCategory instance) =>
<String, dynamic>{
'name': instance.name,
'id': instance.id,
'icon': _iconDataToJson(instance.icon),
};