Splits.fromJson constructor

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

Implementation

Splits.fromJson(Map<String, dynamic> json) {
  if (json['split'] != null) {
    split = <Split>[];
    json['split'].forEach((v) {
      split!.add(Split.fromJson(v));
    });
  }
  symbol = json['symbol'];
}