SignedExchangeReceivedEvent.fromJson constructor

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

Implementation

factory SignedExchangeReceivedEvent.fromJson(Map<String, dynamic> json) {
  return SignedExchangeReceivedEvent(
    requestId: RequestId.fromJson(json['requestId'] as String),
    info: SignedExchangeInfo.fromJson(json['info'] as Map<String, dynamic>),
  );
}