BuiltValueConverter constructor
const
BuiltValueConverter(
- Serializers serializers,
- {Type? errorType}
Builds a new BuiltValueConverter instance that uses built_value serializers defined in the provided serializers parameter.
If the error body cannot be converted with serializers and errorType is provided
and it's not null
, BuiltValueConverter will try to deserialize the error body into
errorType.
Implementation
const BuiltValueConverter(this.serializers, {this.errorType});