toJson method

dynamic toJson()

Implementation

dynamic toJson() => {
      if (cpuAbi != null) 'cpuAbi': cpuAbi,
      if (id != null) 'id': id,
      if (jailbroken != null) 'jailbroken': jailbroken,
      if (locale != null) 'locale': locale,
      if (manufacturer != null) 'manufacturer': manufacturer,
      if (modelNumber != null) 'modelNumber': modelNumber,
      if (model != null) 'model': model,
      if (osName != null) 'osName': osName,
      if (osVersion != null) 'osVersion': osVersion,
      if (runtimeVersions != null) 'runtimeVersions': runtimeVersions,
      if (totalMemory != null) 'totalMemory': totalMemory,
    };