AFModelWithCustomID constructor

AFModelWithCustomID({
  1. String? customStateId,
})

By default each model uses its class name as a key to uniquely identify itself in the AFComponentState. However, if you want to have two objects of the same class in the AFAppState, you can pass each one a unique customStateId.

Implementation

AFModelWithCustomID({this.customStateId});