MapperException.unresolvedType constructor

MapperException.unresolvedType(
  1. String type
)

Exception when a given type cannot be resolved.

This may happen when using an unknown type not tied to any mapper. May be fixed using the MapperBase.addType method.

Implementation

factory MapperException.unresolvedType(String type) {
  return MapperException._('Cannot resolve type from property "$type". '
      'Invalid or unregistered type.');
}