overrideValue property

T? get overrideValue

Implementation

T? get overrideValue {
  var value = service.overrides[key];
  if (value == null) return null;
  if (value is! T) {
    throw Exception('Devbar initial value for $key is not of type $T');
  }
  return value;
}