toJson method
Implementation
Map<dynamic, dynamic> toJson() => {
"method": method,
"id": id,
"params": params?.toJson(),
"jsonrpc": jsonrpc,
};
Map<dynamic, dynamic> toJson() => {
"method": method,
"id": id,
"params": params?.toJson(),
"jsonrpc": jsonrpc,
};