toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final changeType = this.changeType;
  final deleted = this.deleted;
  final drive = this.drive;
  final driveId = this.driveId;
  final file = this.file;
  final fileId = this.fileId;
  final id = this.id;
  final kind = this.kind;
  final modificationDate = this.modificationDate;
  final selfLink = this.selfLink;
  final teamDrive = this.teamDrive;
  final teamDriveId = this.teamDriveId;
  final type = this.type;
  return {
    'changeType': ?changeType,
    'deleted': ?deleted,
    'drive': ?drive,
    'driveId': ?driveId,
    'file': ?file,
    'fileId': ?fileId,
    'id': ?id,
    'kind': ?kind,
    'modificationDate': ?modificationDate?.toUtc().toIso8601String(),
    'selfLink': ?selfLink,
    'teamDrive': ?teamDrive,
    'teamDriveId': ?teamDriveId,
    'type': ?type,
  };
}