core.Map<core.String, core.dynamic> toJson() => { if (driveFile != null) 'driveFile': driveFile!, if (shareMode != null) 'shareMode': shareMode!, };