onDispose method

  1. @override
Future<void> onDispose()
override

Protected method for subclasses to implement disposal logic.

Implementation

@override
Future<void> onDispose() async {
  _typeConverterMap.clear();
  _contentBuilderMap.clear();
}