defaultFor method Null safety

  1. @override
dynamic defaultFor(
  1. String option
)
override

Returns the default value for option.

Implementation

@override
dynamic defaultFor(String option) {
  throw ArgumentError('No option named $option');
}