menu
polkadart package
documentation
scale_codec.dart
Result<R, E>
toJson method
toJson method
dark_mode
light_mode
toJson
method
Map
<
String
,
dynamic
>
toJson
(
)
Implementation
Map<String, dynamic> toJson() { if (_isOk) { return {'Ok': okValue}; } return {'Err': errValue}; }
polkadart package
documentation
scale_codec
Result<R, E>
toJson method
Result class