toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'app_version': appVersion,
    'runtime_version': runtimeVersion,
    'os_name': osName,
    'os_version': osVersion,
    'device_model': deviceModel,
    'is_physical_device': isPhysicalDevice,
    'free_ram_mb': freeRamMb,
    'total_ram_mb': totalRamMb,
    'battery_level': batteryLevel,
    'is_low_memory': isLowMemory,
  };
}