TradeData.fromJson constructor

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

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