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 (sharingFoldersRequiresOrganizerPermission != null)
        'sharingFoldersRequiresOrganizerPermission':
            sharingFoldersRequiresOrganizerPermission!,
      if (teamMembersOnly != null) 'teamMembersOnly': teamMembersOnly!,
    };