fromJson static method
Inherited by: InputBackgroundLocal InputBackgroundPrevious InputBackgroundRemote
Implementation
static InputBackgroundRemote? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputBackgroundRemote(
backgroundId:
int.tryParse((json['background_id'] as dynamic)?.toString() ?? '') ??
0,
);
}