clear method

  1. @override
Future<void> clear(
  1. String? correlationId
)
override

Clears component state.

  • correlationId (optional) transaction id to trace execution through call chain.

Implementation

@override
Future<void> clear(String? correlationId) async {
  _messages = [];
}