prepare method
Prepares the resource dictionary for serialization.
Implementation
@override
/// Prepares the resource dictionary for serialization.
void prepare() {
super.prepare();
for (var index = 0; index < _states.length; index++) {
params['$_prefix$index'] = _states[index].output();
}
}