menu
polkadart_scale_codec package
documentation
primitives/primitives.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_scale_codec package
documentation
primitives/primitives
Result<R, E>
toJson method
Result class