RateBasedStatementManagedKeysIPSet.fromJson constructor

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

Implementation

factory RateBasedStatementManagedKeysIPSet.fromJson(
    Map<String, dynamic> json) {
  return RateBasedStatementManagedKeysIPSet(
    addresses: (json['Addresses'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    iPAddressVersion:
        (json['IPAddressVersion'] as String?)?.toIPAddressVersion(),
  );
}