Constructors
-
BiDi({required B forward(A a), required A backward(B b)})
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Static Methods
-
bidiCast<A, B>()
→ BiDi<A, B>
-
-
bidiCastNarrow<A, B extends A>()
→ BiDi<A, B>
-
-
bidiOpt<A, B>(BiDi<A, B> bidi)
→ BiDiOpt<A, B>
-
-
compose<A, B, C>({required BiDi<A, B> aToB, required BiDi<B, C> bToC})
→ BiDi<A, C>
-
-
identity<T>()
→ BiDi<T, T>
-
-
proto<M extends GeneratedMessage>(M create())
→ BiDi<Uint8List, M>
-
-
protobufEnumByIndex<P extends ProtobufEnum, E extends Enum>(List<P> pbValues, List<E> enumValues)
→ BiDi<P, E>
-
-
protoIntList<M extends GeneratedMessage>(M create())
→ BiDi<List<int>, M>
-
-
protoJson<M extends GeneratedMessage>(M create())
→ BiDi<Map<String, dynamic>, M>
-