fromJson static method

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

Implementation

static SendMessagePayload fromJson(Map<String, dynamic> json) {
  return SendMessagePayload(
    fromDID: json['fromDID'],
    toDID: json['toDID'],
    fromCAIP10: json['fromCAIP10'],
    toCAIP10: json['toCAIP10'],
    messageContent: json['messageContent'],
    messageObj: json['messageObj'],
    messageType: json['messageType'],
    signature: json['signature'],
    encType: json['encType'],
    encryptedSecret: json['encryptedSecret'],
    sigType: json['sigType'],
    verificationProof: json['verificationProof'],
  );
}