StakeRequestBody.fromJson constructor

StakeRequestBody.fromJson(
  1. Map<String, dynamic> json
)

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);