MapperException.unsupportedMethod constructor
MapperException.unsupportedMethod(
- MapperMethod method,
- Type type
Exception when a method is called that was not specified for generation.
Implementation
factory MapperException.unsupportedMethod(MapperMethod method, Type type) {
return MapperException._('Unsupported operation "${method.name}" on type '
'$type: You can specify the supported operations for a type on its '
'annotation by using the GenerateMethods flag.');
}