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