DescribeBrokerEngineTypesResponse.fromJson constructor

DescribeBrokerEngineTypesResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeBrokerEngineTypesResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeBrokerEngineTypesResponse(
    brokerEngineTypes: (json['brokerEngineTypes'] as List?)
        ?.whereNotNull()
        .map((e) => BrokerEngineType.fromJson(e as Map<String, dynamic>))
        .toList(),
    maxResults: json['maxResults'] as int?,
    nextToken: json['nextToken'] as String?,
  );
}