toJson method
Implementation
Map<String, Object?> toJson() {
final Map<String, Object?> json = {};
if (fallback != null) {
json['fallback'] = fallback!.name;
}
return json;
}
Map<String, Object?> toJson() {
final Map<String, Object?> json = {};
if (fallback != null) {
json['fallback'] = fallback!.name;
}
return json;
}