MapperException.missingParameter constructor

MapperException.missingParameter(
  1. String key
)

Exception when a required parameter is missing while serialization.

Implementation

factory MapperException.missingParameter(String key) {
  return MapperException._('Parameter $key is missing.');
}