MapperException.unknownType constructor

MapperException.unknownType(
  1. Type t
)

Exception when trying to get a mapper for an unregistered type.

Implementation

factory MapperException.unknownType(Type t) {
  return MapperException._('Unknown type $t. Did you forgot to annotate the '
      'class or register a custom mapper?');
}