toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  Map<String, dynamic> jsonData = {};
  if (jws != null) jsonData['jws'] = jws;
  if (hash != null) jsonData['hash'] = hash;
  if (links != null) jsonData['links'] = links;
  if (base64 != null) jsonData['base64'] = base64;
  if (json != null) jsonData['json'] = json;
  return jsonData;
}