UserType<T> constructor

UserType<T>(
  1. Function function
)

Creates a new instance of UserType.

@param function The constructor function associated with the type. This function will be called during deserialization with named parameters extracted from the JSON.

Implementation

UserType(this.function) : info = DartParser.parseFunction(function);