parseOI method
Convenience wrapper over MarketDataInterface.fetchOI that handles the JSON decode -- see that method's doc for the underlying contract.
Implementation
Future<OIStrikeValues> parseOI({
required String underlyingSymbolId,
required List<String> expiries,
}) async {
final raw = await fetchOI(
underlyingSymbolId: underlyingSymbolId,
expiries: expiries,
);
return _parseOIStrikeValues(raw);
}