mapFromJson static method

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

Implementation

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