toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (image != null) 'image': image!,
if (metadata != null) 'metadata': metadata!,
if (signatureTime != null) 'signatureTime': signatureTime!,
if (userId != null) 'userId': userId!,
};