ListTapesOutput.fromJson constructor

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

Implementation

factory ListTapesOutput.fromJson(Map<String, dynamic> json) {
  return ListTapesOutput(
    marker: json['Marker'] as String?,
    tapeInfos: (json['TapeInfos'] as List?)
        ?.whereNotNull()
        .map((e) => TapeInfo.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}