GoogleAppsDriveLabelsV2FieldLimits.fromJson constructor

GoogleAppsDriveLabelsV2FieldLimits.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2FieldLimits.fromJson(core.Map json_)
  : this(
      dateLimits: json_.containsKey('dateLimits')
          ? GoogleAppsDriveLabelsV2DateLimits.fromJson(
              json_['dateLimits'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      integerLimits: json_.containsKey('integerLimits')
          ? GoogleAppsDriveLabelsV2IntegerLimits.fromJson(
              json_['integerLimits'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      longTextLimits: json_.containsKey('longTextLimits')
          ? GoogleAppsDriveLabelsV2LongTextLimits.fromJson(
              json_['longTextLimits'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      maxDescriptionLength: json_['maxDescriptionLength'] as core.int?,
      maxDisplayNameLength: json_['maxDisplayNameLength'] as core.int?,
      maxIdLength: json_['maxIdLength'] as core.int?,
      selectionLimits: json_.containsKey('selectionLimits')
          ? GoogleAppsDriveLabelsV2SelectionLimits.fromJson(
              json_['selectionLimits'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      textLimits: json_.containsKey('textLimits')
          ? GoogleAppsDriveLabelsV2TextLimits.fromJson(
              json_['textLimits'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      userLimits: json_.containsKey('userLimits')
          ? GoogleAppsDriveLabelsV2UserLimits.fromJson(
              json_['userLimits'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );