SearchTenancyUnitsResponse.fromJson constructor

SearchTenancyUnitsResponse.fromJson(
  1. Map json_
)

Implementation

SearchTenancyUnitsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        tenancyUnits: json_.containsKey('tenancyUnits')
            ? (json_['tenancyUnits'] as core.List)
                .map((value) => TenancyUnit.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );