helpers/error_methods library

Functions

badArgument<T>({dynamic value, String? name, String? message}) → T
wrongType<T>(String name, dynamic value, List<Type> accepted) → T