toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (androidBuildNumber != null)
        'androidBuildNumber': androidBuildNumber!,
      if (androidBuildTime != null) 'androidBuildTime': androidBuildTime!,
      if (androidDevicePolicyVersionCode != null)
        'androidDevicePolicyVersionCode': androidDevicePolicyVersionCode!,
      if (androidDevicePolicyVersionName != null)
        'androidDevicePolicyVersionName': androidDevicePolicyVersionName!,
      if (androidVersion != null) 'androidVersion': androidVersion!,
      if (bootloaderVersion != null) 'bootloaderVersion': bootloaderVersion!,
      if (deviceBuildSignature != null)
        'deviceBuildSignature': deviceBuildSignature!,
      if (deviceKernelVersion != null)
        'deviceKernelVersion': deviceKernelVersion!,
      if (primaryLanguageCode != null)
        'primaryLanguageCode': primaryLanguageCode!,
      if (securityPatchLevel != null)
        'securityPatchLevel': securityPatchLevel!,
      if (systemUpdateInfo != null) 'systemUpdateInfo': systemUpdateInfo!,
    };