GoogleAppsDriveLabelsV2EnableLabelRequest.fromJson constructor

GoogleAppsDriveLabelsV2EnableLabelRequest.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2EnableLabelRequest.fromJson(core.Map json_)
    : this(
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        useAdminAccess: json_.containsKey('useAdminAccess')
            ? json_['useAdminAccess'] as core.bool
            : null,
        writeControl: json_.containsKey('writeControl')
            ? GoogleAppsDriveLabelsV2WriteControl.fromJson(
                json_['writeControl'] as core.Map<core.String, core.dynamic>)
            : null,
      );