DriveRestrictions.fromJson constructor

DriveRestrictions.fromJson(
  1. Map json_
)

Implementation

DriveRestrictions.fromJson(core.Map json_)
  : this(
      adminManagedRestrictions:
          json_['adminManagedRestrictions'] as core.bool?,
      copyRequiresWriterPermission:
          json_['copyRequiresWriterPermission'] as core.bool?,
      domainUsersOnly: json_['domainUsersOnly'] as core.bool?,
      driveMembersOnly: json_['driveMembersOnly'] as core.bool?,
      sharingFoldersRequiresOrganizerPermission:
          json_['sharingFoldersRequiresOrganizerPermission'] as core.bool?,
    );