toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'id': id,
      'topic': topic,
      'method': method,
      'chainId': chainId,
      'params': params,
      'transportType': transportType.name,
    };