init method

void init(
  1. Object? parameter
)

Called after the constructer to initialize the viewmodel.

Any information passed to be viewmodel is set via the parameter.

Implementation

void init(Object? parameter) {}