DescribeReplicationSubnetGroupsResponse.fromJson constructor

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

Implementation

factory DescribeReplicationSubnetGroupsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeReplicationSubnetGroupsResponse(
    marker: json['Marker'] as String?,
    replicationSubnetGroups: (json['ReplicationSubnetGroups'] as List?)
        ?.whereNotNull()
        .map(
            (e) => ReplicationSubnetGroup.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}