mapFromJson static method
Implementation
static Map<String, SSEResultState> mapFromJson(Map<String, dynamic>? json) {
final map = <String, SSEResultState>{};
if (json != null && json.isNotEmpty) {
json.forEach((String key, dynamic value) {
final val = fromJson(value);
if (val != null) {
map[key] = val;
}
});
}
return map;
}