replace<P> static method
Implementation
static void replace<P>(P child, {String? tag}) {
final info = June.getInstanceDetails<P>(tag: tag);
final permanent = (info.isPermanent ?? false);
delete<P>(tag: tag, force: permanent);
June.put(child, tag: tag, permanent: permanent);
}