toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (additionalRoles != null) 'additionalRoles': additionalRoles!,
if (authKey != null) 'authKey': authKey!,
if (deleted != null) 'deleted': deleted!,
if (domain != null) 'domain': domain!,
if (emailAddress != null) 'emailAddress': emailAddress!,
if (etag != null) 'etag': etag!,
if (expirationDate != null)
'expirationDate': expirationDate!.toUtc().toIso8601String(),
if (id != null) 'id': id!,
if (kind != null) 'kind': kind!,
if (name != null) 'name': name!,
if (pendingOwner != null) 'pendingOwner': pendingOwner!,
if (permissionDetails != null) 'permissionDetails': permissionDetails!,
if (photoLink != null) 'photoLink': photoLink!,
if (role != null) 'role': role!,
if (selfLink != null) 'selfLink': selfLink!,
if (teamDrivePermissionDetails != null)
'teamDrivePermissionDetails': teamDrivePermissionDetails!,
if (type != null) 'type': type!,
if (value != null) 'value': value!,
if (view != null) 'view': view!,
if (withLink != null) 'withLink': withLink!,
};