asObject<T> method

T asObject<T>(
  1. IUnmarshalFactory<T> objFactory
)

As object. Provide factory with 'Class.create' idiom.

Implementation

T asObject<T>(IUnmarshalFactory<T> objFactory)
{
  T dartObj = objFactory(this);
  return dartObj;
}