ListVPCEConfigurationsResult.fromJson constructor

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

Implementation

factory ListVPCEConfigurationsResult.fromJson(Map<String, dynamic> json) {
  return ListVPCEConfigurationsResult(
    nextToken: json['nextToken'] as String?,
    vpceConfigurations: (json['vpceConfigurations'] as List?)
        ?.whereNotNull()
        .map((e) => VPCEConfiguration.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}