GoogleAppsDriveLabelsV2LabelLimits.fromJson constructor

GoogleAppsDriveLabelsV2LabelLimits.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2LabelLimits.fromJson(core.Map json_)
    : this(
        fieldLimits: json_.containsKey('fieldLimits')
            ? GoogleAppsDriveLabelsV2FieldLimits.fromJson(
                json_['fieldLimits'] as core.Map<core.String, core.dynamic>)
            : null,
        maxDeletedFields: json_.containsKey('maxDeletedFields')
            ? json_['maxDeletedFields'] as core.int
            : null,
        maxDescriptionLength: json_.containsKey('maxDescriptionLength')
            ? json_['maxDescriptionLength'] as core.int
            : null,
        maxDraftRevisions: json_.containsKey('maxDraftRevisions')
            ? json_['maxDraftRevisions'] as core.int
            : null,
        maxFields: json_.containsKey('maxFields')
            ? json_['maxFields'] as core.int
            : null,
        maxTitleLength: json_.containsKey('maxTitleLength')
            ? json_['maxTitleLength'] as core.int
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );