ListPlaceActionTypeMetadataResponse.fromJson constructor Null safety

ListPlaceActionTypeMetadataResponse.fromJson(
  1. Map _json
)

Implementation

ListPlaceActionTypeMetadataResponse.fromJson(core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        placeActionTypeMetadata: _json.containsKey('placeActionTypeMetadata')
            ? (_json['placeActionTypeMetadata'] as core.List)
                .map((value) => PlaceActionTypeMetadata.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );