MobileDeviceIdList.fromJson constructor

MobileDeviceIdList.fromJson(
  1. Map json_
)

Implementation

MobileDeviceIdList.fromJson(core.Map json_)
    : this(
        consent: json_.containsKey('consent')
            ? Consent.fromJson(
                json_['consent'] as core.Map<core.String, core.dynamic>)
            : null,
        mobileDeviceIds: json_.containsKey('mobileDeviceIds')
            ? (json_['mobileDeviceIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );