typeName property

String get typeName
inherited

Stable identity of this state type in storage.

Written to toMap()['type'] and to the stateType column of every snapshot, and used as the StateRegistry key. Defaults to the Dart class name, which breaks on rename or under --obfuscate; override it with a name that never changes. See Event.typeName.

Implementation

String get typeName => runtimeType.toString();