TradeRequest.fromJson constructor

TradeRequest.fromJson(
  1. Map<String, Object?> json
)

Creates a new TradeRequest instance from the provided JSON map.

Parameters:

  • json – A map containing the JSON representation of a TradeRequest.

Returns a TradeRequest instance.

Implementation

factory TradeRequest.fromJson(Map<String, Object?> json) =>
    _$TradeRequestFromJson(json);