DeviceInfo.fromJson constructor
DeviceInfo.fromJson(
- Map _json
Implementation
DeviceInfo.fromJson(core.Map _json)
: this(
deviceModelName: _json.containsKey('deviceModelName')
? _json['deviceModelName'] as core.String
: null,
languageCode: _json.containsKey('languageCode')
? _json['languageCode'] as core.String
: null,
languageCodeFromWebview: _json.containsKey('languageCodeFromWebview')
? _json['languageCodeFromWebview'] as core.String
: null,
languageCodeRaw: _json.containsKey('languageCodeRaw')
? _json['languageCodeRaw'] as core.String
: null,
screenResolutionHeight: _json.containsKey('screenResolutionHeight')
? _json['screenResolutionHeight'] as core.String
: null,
screenResolutionWidth: _json.containsKey('screenResolutionWidth')
? _json['screenResolutionWidth'] as core.String
: null,
timezone: _json.containsKey('timezone')
? _json['timezone'] as core.String
: null,
);