toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (changeType != null) 'changeType': changeType!,
      if (drive != null) 'drive': drive!,
      if (driveId != null) 'driveId': driveId!,
      if (file != null) 'file': file!,
      if (fileId != null) 'fileId': fileId!,
      if (kind != null) 'kind': kind!,
      if (removed != null) 'removed': removed!,
      if (teamDrive != null) 'teamDrive': teamDrive!,
      if (teamDriveId != null) 'teamDriveId': teamDriveId!,
      if (time != null) 'time': time!.toUtc().toIso8601String(),
      if (type != null) 'type': type!,
    };