init method

  1. @override
  2. @mustCallSuper
Future<void> init()
override

Implementation

@override
@mustCallSuper
Future<void> init() async {
  if (_initialized) {
    return;
  }

  controller = StreamController<User>.broadcast();
  _initialized = true;
}