OracleUcoPrice.fromJson constructor

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

Implementation

factory OracleUcoPrice.fromJson(Map<String, dynamic> json) => OracleUcoPrice(
      timestamp: int.tryParse(json.keys.first),
      uco: Uco.fromJson(json.values.first['uco']),
    );