setInitialValues method

  1. @override
FirebaseMessagingPlatform setInitialValues({
  1. bool? isAutoInitEnabled,
})

Sets any initial values on the instance.

Platforms with Method Channels can provide constant values to be available before the instance has initialized to prevent any unnecessary async calls.

Implementation

@override
FirebaseMessagingPlatform setInitialValues({bool? isAutoInitEnabled}) {
  // Not required on web, but prevents UnimplementedError being thrown.
  return this;
}