SchemaRestrictionResponse.fromJson constructor

SchemaRestrictionResponse.fromJson(
  1. Map _json
)

Implementation

SchemaRestrictionResponse.fromJson(core.Map _json)
    : this(
        activeMetricRestrictions:
            _json.containsKey('activeMetricRestrictions')
                ? (_json['activeMetricRestrictions'] as core.List)
                    .map((value) => ActiveMetricRestriction.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
      );