toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (adminManagedRestrictions != null) {
    _json["adminManagedRestrictions"] = adminManagedRestrictions;
  }
  if (copyRequiresWriterPermission != null) {
    _json["copyRequiresWriterPermission"] = copyRequiresWriterPermission;
  }
  if (domainUsersOnly != null) {
    _json["domainUsersOnly"] = domainUsersOnly;
  }
  if (driveMembersOnly != null) {
    _json["driveMembersOnly"] = driveMembersOnly;
  }
  return _json;
}