ProtobufMapper class

Inheritance

Constructors

ProtobufMapper({@required Map<String, GeneratedMessage Function()> factoriesByTypeName, @required Map<FullType, GeneratedMessage Function()> factoriesBySpecifiedType, @required bool throwOnDecodingFailure, Mapper nextMapper})
const

Properties

factoriesBySpecifiedType Map<FullType, GeneratedMessage Function()>
pb.GeneratedMessage factories by FullType.
final
factoriesByTypeName Map<String, GeneratedMessage Function()>
pb.GeneratedMessage factories by name.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
nextMapper Mapper
If non-null, the mapper will receive the inputs which this mapper can't handle.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
throwOnDecodingFailure bool
If true, this mapper will throw on failure.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rawGraphFrom(Object value, {String typeName, FullType specifiedType, MapperEncodeContext context}) Object
override
rawGraphTo(Object value, {String typeName, FullType specifiedType, MapperDecodeContext context}) Object
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited