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