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