ListDatabasesOutput.fromJson constructor

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

Implementation

factory ListDatabasesOutput.fromJson(Map<String, dynamic> json) {
  return ListDatabasesOutput(
    databaseList: (json['DatabaseList'] as List?)
        ?.whereNotNull()
        .map((e) => Database.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}