toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final allowFileDiscovery = this.allowFileDiscovery;
  final deleted = this.deleted;
  final displayName = this.displayName;
  final domain = this.domain;
  final emailAddress = this.emailAddress;
  final expirationTime = this.expirationTime;
  final id = this.id;
  final inheritedPermissionsDisabled = this.inheritedPermissionsDisabled;
  final kind = this.kind;
  final pendingOwner = this.pendingOwner;
  final permissionDetails = this.permissionDetails;
  final photoLink = this.photoLink;
  final role = this.role;
  final teamDrivePermissionDetails = this.teamDrivePermissionDetails;
  final type = this.type;
  final view = this.view;
  return {
    'allowFileDiscovery': ?allowFileDiscovery,
    'deleted': ?deleted,
    'displayName': ?displayName,
    'domain': ?domain,
    'emailAddress': ?emailAddress,
    'expirationTime': ?expirationTime?.toUtc().toIso8601String(),
    'id': ?id,
    'inheritedPermissionsDisabled': ?inheritedPermissionsDisabled,
    'kind': ?kind,
    'pendingOwner': ?pendingOwner,
    'permissionDetails': ?permissionDetails,
    'photoLink': ?photoLink,
    'role': ?role,
    'teamDrivePermissionDetails': ?teamDrivePermissionDetails,
    'type': ?type,
    'view': ?view,
  };
}