maybeDispatchObjectCreation static method

  1. @protected
void maybeDispatchObjectCreation(
  1. Notifier object
)

Implementation

@protected
static void maybeDispatchObjectCreation(Notifier object) {
  if (kFlutterMemoryAllocationsEnabled && !object._creationDispatched) {
    FlutterMemoryAllocations.instance.dispatchObjectCreated(
      library: _flutterFoundationLibrary,
      className: '$Notifier',
      object: object,
    );
    object._creationDispatched = true;
  }
}