GoogleCloudDatalabelingV1beta1LabelStats.fromJson constructor

GoogleCloudDatalabelingV1beta1LabelStats.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1LabelStats.fromJson(core.Map _json)
    : this(
        exampleCount: _json.containsKey('exampleCount')
            ? (_json['exampleCount'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, item) => core.MapEntry(
                  key,
                  item as core.String,
                ),
              )
            : null,
      );