GoogleCloudDatalabelingV1beta1TimeSegment.fromJson constructor

GoogleCloudDatalabelingV1beta1TimeSegment.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1TimeSegment.fromJson(core.Map _json)
    : this(
        endTimeOffset: _json.containsKey('endTimeOffset')
            ? _json['endTimeOffset'] as core.String
            : null,
        startTimeOffset: _json.containsKey('startTimeOffset')
            ? _json['startTimeOffset'] as core.String
            : null,
      );