DevicesListResponse.fromJson constructor

DevicesListResponse.fromJson(
  1. Map json_
)

Implementation

DevicesListResponse.fromJson(core.Map json_)
    : this(
        device: json_.containsKey('device')
            ? (json_['device'] as core.List)
                .map((value) => Device.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );