ListGlobalTablesOutput.fromJson constructor

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

Implementation

factory ListGlobalTablesOutput.fromJson(Map<String, dynamic> json) {
  return ListGlobalTablesOutput(
    globalTables: (json['GlobalTables'] as List?)
        ?.whereNotNull()
        .map((e) => GlobalTable.fromJson(e as Map<String, dynamic>))
        .toList(),
    lastEvaluatedGlobalTableName:
        json['LastEvaluatedGlobalTableName'] as String?,
  );
}