GoogleHomeEnterpriseSdmV1ListStructuresResponse.fromJson constructor

GoogleHomeEnterpriseSdmV1ListStructuresResponse.fromJson(
  1. Map json_
)

Implementation

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