state property
A typed view into the component's current JS state object.
Created using typedStateFactoryJs and updated whenever state changes.
Implementation
@override
TState get state {
// This needs to be a concrete implementation in Dart 2 for soundness;
// without it, you get a confusing error. See: https://github.com/dart-lang/sdk/issues/36191
throw UngeneratedError(member: #state,
message: GeneratedErrorMessages.component1AnnotationOnComponent2);
}
Implementation
@override
late Map state;