E2EResponse.fromJson constructor

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

Implementation

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