IosDevice.fromJson constructor

IosDevice.fromJson(
  1. Map _json
)

Implementation

IosDevice.fromJson(core.Map _json)
    : this(
        iosModelId: _json.containsKey('iosModelId')
            ? _json['iosModelId'] as core.String
            : null,
        iosVersionId: _json.containsKey('iosVersionId')
            ? _json['iosVersionId'] as core.String
            : null,
        locale: _json.containsKey('locale')
            ? _json['locale'] as core.String
            : null,
        orientation: _json.containsKey('orientation')
            ? _json['orientation'] as core.String
            : null,
      );