EmpireApp<T extends EmpireViewModel> constructor Null safety

const EmpireApp<T extends EmpireViewModel>(
  1. String? _uuid,
  2. {Key? key,
  3. required Widget child,
  4. required T viewModel(
      )}
    )

    Implementation

    const EmpireApp(
      this._uuid, {
      Key? key,
      required super.child,
      required this.viewModel,
    }) : super(key: key);