mapFromJson static method

Map<String, DBRPUpdate?> mapFromJson(
  1. dynamic json
)

Implementation

static Map<String, DBRPUpdate?> mapFromJson(dynamic json) {
  final map = <String, DBRPUpdate?>{};
  if (json is Map && json.isNotEmpty) {
    json.cast<String, dynamic>().forEach(
        (key, dynamic value) => map[key] = DBRPUpdate.fromJson(value));
  }
  return map;
}