Request.fromJson constructor

Request.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Request.fromJson(Map<String, dynamic> json) {
  _forDid = json['for_did'];
  _displayName = json['display_name'];
  _comment = json['comment'];
  _fromDid = json['from_did'];
  _payload =
      json['payload'] != null ? new Payload.fromJson(json['payload']) : null;
  _signatureType = json['signature_type'];
  _timestamp = json['timestamp'];
}