ListTablesOutput.fromJson constructor

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

Implementation

factory ListTablesOutput.fromJson(Map<String, dynamic> json) {
  return ListTablesOutput(
    lastEvaluatedTableName: json['LastEvaluatedTableName'] as String?,
    tableNames: (json['TableNames'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}