MobileDevices.fromJson constructor

MobileDevices.fromJson(
  1. Map json_
)

Implementation

MobileDevices.fromJson(core.Map json_)
    : this(
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        mobiledevices: json_.containsKey('mobiledevices')
            ? (json_['mobiledevices'] as core.List)
                .map((value) => MobileDevice.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );