fromNative static method
Implementation
static LogInfo fromNative(LogInfoNative native, {bool takeOwnership = true}) {
return LogInfo(
toPlatformString(native.name, takeOwnership: takeOwnership),
toPlatformString(native.absolutePath, takeOwnership: takeOwnership),
native.size,
native.duration,
toPlatformString(native.date, takeOwnership: takeOwnership),
native.numberOfCheckpoints,
);
}