ListVaultsOutput.fromJson constructor

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

Implementation

factory ListVaultsOutput.fromJson(Map<String, dynamic> json) {
  return ListVaultsOutput(
    marker: json['Marker'] as String?,
    vaultList: (json['VaultList'] as List?)
        ?.whereNotNull()
        .map((e) => DescribeVaultOutput.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}