toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adminManagedRestrictions != null)
        'adminManagedRestrictions': adminManagedRestrictions!,
      if (copyRequiresWriterPermission != null)
        'copyRequiresWriterPermission': copyRequiresWriterPermission!,
      if (domainUsersOnly != null) 'domainUsersOnly': domainUsersOnly!,
      if (driveMembersOnly != null) 'driveMembersOnly': driveMembersOnly!,
      if (sharingFoldersRequiresOrganizerPermission != null)
        'sharingFoldersRequiresOrganizerPermission':
            sharingFoldersRequiresOrganizerPermission!,
    };