GoogleCloudDatalabelingV1beta1ConfusionMatrix.fromJson constructor

GoogleCloudDatalabelingV1beta1ConfusionMatrix.fromJson(
  1. Map _json
)

Implementation

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