lazyReplace<P> static method
Implementation
static void lazyReplace<P>(InstanceBuilderCallback<P> builder,
{String? tag, bool? fenix}) {
final info = GetInstance().getInstanceInfo<P>(tag: tag);
final permanent = (info.isPermanent ?? false);
delete<P>(tag: tag, force: permanent);
GetInstance().lazyPut(builder, tag: tag, fenix: fenix ?? permanent);
}