badArgument<T> function Null safety

T badArgument<T>(
  1. {dynamic value,
  2. String? name,
  3. String? message}
)

Implementation

T badArgument<T>({value, String? name, String? message}) =>
    throw ArgumentError.value(value, name, message);