toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  Map<String, dynamic> map = {
    'id': id,
    'manifest_id': manifestId,
    'spec_version': specVersion,
    'format': format.toJson()
  };
  if (presentationSubmission != null) {
    map['presentation_submission'] = presentationSubmission!.toJson();
  }
  return map;
}