toJson method
Converts the request to JSON format.
Implementation
@override
List<dynamic> toJson() {
return [
account.address,
SolanaRPCUtils.createConfig([
commitment?.toJson(),
encoding?.toJson(),
dataSlice?.toJson(),
minContextSlot?.toJson()
])
];
}