toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final document = this.document;
  final signature = this.signature;
  return {
    if (document != null) 'Document': document,
    if (signature != null) 'Signature': signature,
  };
}