newBuilder abstract method
Creates a new builder for the type represented by fullType
.
For example, if fullType
is BuiltList<int, String>
, returns a
ListBuilder<int, String>
. This helps serializers to instantiate with
correct generic type parameters.
Throws a StateError if no matching builder factory has been added.
Implementation
Object newBuilder(FullType fullType);