GetRelationalDatabasesResult.fromJson constructor

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

Implementation

factory GetRelationalDatabasesResult.fromJson(Map<String, dynamic> json) {
  return GetRelationalDatabasesResult(
    nextPageToken: json['nextPageToken'] as String?,
    relationalDatabases: (json['relationalDatabases'] as List?)
        ?.whereNotNull()
        .map((e) => RelationalDatabase.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}