ListTapePoolsOutput.fromJson constructor

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

Implementation

factory ListTapePoolsOutput.fromJson(Map<String, dynamic> json) {
  return ListTapePoolsOutput(
    marker: json['Marker'] as String?,
    poolInfos: (json['PoolInfos'] as List?)
        ?.whereNotNull()
        .map((e) => PoolInfo.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}