EncryptMessageResponse.fromJson constructor

EncryptMessageResponse.fromJson(
  1. Map<String, dynamic> map
)

Implementation

factory EncryptMessageResponse.fromJson(Map<String, dynamic> map) {
  return EncryptMessageResponse(
    content: map['content'],
    tags: map['tags'],
    kind: map['kind'],
    createdAt: map['create_at'],
    pubKey: map['pubkey'],
  );
}