toJson method
Implementation
Map<String, Object?> toJson() => {
isFlutterAppKey: isFlutterAppNow,
isProfileBuildKey: isProfileBuildNow,
isDartWebAppKey: isDartWebAppNow,
isRunningOnDartVMKey: isRunningOnDartVM,
operatingSystemKey: operatingSystem,
if (flutterVersionNow != null && !flutterVersionNow!.unknown)
flutterVersionKey: flutterVersionNow!.version,
};