StakingOption.fromJson constructor
Creates a StakingOption instance from a JSON object.
Parameters:
json
– A map representing the JSON object.
Returns a StakingOption instance with the corresponding properties.
Implementation
factory StakingOption.fromJson(Map<String, dynamic> json) =>
_$StakingOptionFromJson(json);