GoogleFirebaseApptestersV1alphaDevice.fromJson constructor

GoogleFirebaseApptestersV1alphaDevice.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseApptestersV1alphaDevice.fromJson(core.Map _json)
    : this(
        enrollIosDeviceUri: _json.containsKey('enrollIosDeviceUri')
            ? _json['enrollIosDeviceUri'] as core.String
            : null,
        manufacturer: _json.containsKey('manufacturer')
            ? _json['manufacturer'] as core.String
            : null,
        model:
            _json.containsKey('model') ? _json['model'] as core.String : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        osVersion: _json.containsKey('osVersion')
            ? _json['osVersion'] as core.String
            : null,
        platform: _json.containsKey('platform')
            ? _json['platform'] as core.String
            : null,
        udid: _json.containsKey('udid') ? _json['udid'] as core.String : null,
        useragent: _json.containsKey('useragent')
            ? _json['useragent'] as core.String
            : null,
      );