ModeAddon<T> constructor

ModeAddon<T>({
  1. required String name,
  2. required Mode<T> modeBuilder(
    1. T
    ),
})

Implementation

ModeAddon({
  required super.name,
  required this.modeBuilder,
});