mapFromJson static method

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

Implementation

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