toJson method

Map<String, dynamic> toJson()

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!,
    };