QueryOpenInterestRequest.fromJson constructor

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

Implementation

factory QueryOpenInterestRequest.fromJson(Map<String, dynamic> json) {
  return QueryOpenInterestRequest(
    marketId: json.valueAsString<String?>('market_id', acceptCamelCase: true),
  );
}