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,
      );