// GENERATED CODE - DO NOT MODIFY BY HAND part of 'appState.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** AppState _$AppStateFromJson(Map json) => $checkedCreate( 'AppState', json, ($checkedConvert) { final val = AppState( yourLocations: $checkedConvert( 'yourLocations', (v) => (v as List?) ?.map((e) => YourLocation.fromJson( Map.from(e as Map))) .toList() ?? const []), fireNotifications: $checkedConvert( 'fireNotifications', (v) => (v as List?) ?.map((e) => FireNotification.fromJson( Map.from(e as Map))) .toList() ?? const []), isLoading: $checkedConvert('isLoading', (v) => v as bool? ?? false), ); return val; }, ); Map _$AppStateToJson(AppState instance) => { 'isLoading': instance.isLoading, 'yourLocations': instance.yourLocations.map((e) => e.toJson()).toList(), 'fireNotifications': instance.fireNotifications.map((e) => e.toJson()).toList(), };