DeviceIntegrity.fromJson constructor

DeviceIntegrity.fromJson(
  1. Map json_
)

Implementation

DeviceIntegrity.fromJson(core.Map json_)
    : this(
        deviceRecognitionVerdict:
            json_.containsKey('deviceRecognitionVerdict')
                ? (json_['deviceRecognitionVerdict'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        recentDeviceActivity: json_.containsKey('recentDeviceActivity')
            ? RecentDeviceActivity.fromJson(json_['recentDeviceActivity']
                as core.Map<core.String, core.dynamic>)
            : null,
      );