parseIntoNewInstance<T extends GeneratedMessage> function
Parses the given JSON string into a new instance of the message described by the builder
.
Implementation
T parseIntoNewInstance<T extends GeneratedMessage>(BuilderInfo builder, String json) {
var msg = builder.createEmptyInstance!.call();
parseInto(msg, json);
return msg as T;
}