GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest.fromJson constructor

GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest.fromJson(
    core.Map json_)
    : this(
        dateOptions: json_.containsKey('dateOptions')
            ? GoogleAppsDriveLabelsV2FieldDateOptions.fromJson(
                json_['dateOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        integerOptions: json_.containsKey('integerOptions')
            ? GoogleAppsDriveLabelsV2FieldIntegerOptions.fromJson(
                json_['integerOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        selectionOptions: json_.containsKey('selectionOptions')
            ? GoogleAppsDriveLabelsV2FieldSelectionOptions.fromJson(
                json_['selectionOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        textOptions: json_.containsKey('textOptions')
            ? GoogleAppsDriveLabelsV2FieldTextOptions.fromJson(
                json_['textOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
        userOptions: json_.containsKey('userOptions')
            ? GoogleAppsDriveLabelsV2FieldUserOptions.fromJson(
                json_['userOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );