operator [] method

double operator [](
  1. String key
)

Implementation

double operator [](String key) {
  final data = _data[key];
  if (data == null) throw StateError('No data found with key $key');
  return data.value(_controller);
}