TradeData.fromJson constructor
Creates a new TradeData instance from the provided JSON map.
Parameters:
json
– A map containing the JSON representation of a TradeData.
Returns a TradeData instance.
Implementation
factory TradeData.fromJson(Map<String, Object?> json) =>
_$TradeDataFromJson(json);