toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cpuMake != null) 'cpuMake': cpuMake!,
      if (cpuModel != null) 'cpuModel': cpuModel!,
      if (deviceClass != null) 'deviceClass': deviceClass!,
      if (glEsVersion != null) 'glEsVersion': glEsVersion!,
      if (manufacturer != null) 'manufacturer': manufacturer!,
      if (nativePlatform != null) 'nativePlatform': nativePlatform!,
      if (productName != null) 'productName': productName!,
      if (ramMb != null) 'ramMb': ramMb!,
      if (screenDensityDpi != null) 'screenDensityDpi': screenDensityDpi!,
      if (screenHeightPx != null) 'screenHeightPx': screenHeightPx!,
      if (screenWidthPx != null) 'screenWidthPx': screenWidthPx!,
    };