prepare method

  1. @override
void prepare()

Prepare the object to be written to the stream

Implementation

@override
void prepare() {
  super.prepare();

  for (var index = 0; index < _states.length; index++) {
    params['$_prefix$index'] = _states[index].output();
  }
}