DerivativeExchangeShort.fromJson constructor

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

Constructs a DerivativeExchangeShort instance from a JSON object.

Parameters:

  • json: A map containing the JSON data.

Implementation

DerivativeExchangeShort.fromJson(Map<String, dynamic> json)
    : this.id = Convert.toStr(json['id'], ''),
      this.name = Convert.toStr(json['name'], '');