toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clientId != null) 'clientId': clientId!,
      if (clientSecret != null) 'clientSecret': clientSecret!,
      if (driveId != null) 'driveId': driveId!,
      if (driveName != null) 'driveName': driveName!,
      if (fileId != null) 'fileId': fileId!,
      if (sharepointFolderId != null)
        'sharepointFolderId': sharepointFolderId!,
      if (sharepointFolderPath != null)
        'sharepointFolderPath': sharepointFolderPath!,
      if (sharepointSiteName != null)
        'sharepointSiteName': sharepointSiteName!,
      if (tenantId != null) 'tenantId': tenantId!,
    };