AppObject constructor

AppObject({
  1. @Deprecated("The 'error' parameter is deprecated.") bool? allowNewHandlers = true,
})

One single instance of the App object

Implementation

factory AppObject({
  @Deprecated("The 'error' parameter is deprecated.")
  bool? allowNewHandlers = true,
}) =>
    _this ??= AppObject._();