toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['for_did'] = this._forDid;
data['display_name'] = this._displayName;
data['comment'] = this._comment;
data['from_did'] = this._fromDid;
if (this._payload != null) {
data['payload'] = this._payload!.toJson();
}
data['signature_type'] = this._signatureType;
data['timestamp'] = this._timestamp;
return data;
}