GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest.fromJson constructor

GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest.fromJson(
    core.Map json_)
    : this(
        requests: json_.containsKey('requests')
            ? (json_['requests'] as core.List)
                .map((value) =>
                    GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        useAdminAccess: json_.containsKey('useAdminAccess')
            ? json_['useAdminAccess'] as core.bool
            : null,
      );