AndroidDevice.fromJson constructor

AndroidDevice.fromJson(
  1. Map _json
)

Implementation

AndroidDevice.fromJson(core.Map _json)
    : this(
        androidModelId: _json.containsKey('androidModelId')
            ? _json['androidModelId'] as core.String
            : null,
        androidVersionId: _json.containsKey('androidVersionId')
            ? _json['androidVersionId'] as core.String
            : null,
        locale: _json.containsKey('locale')
            ? _json['locale'] as core.String
            : null,
        orientation: _json.containsKey('orientation')
            ? _json['orientation'] as core.String
            : null,
      );