GetRelationalDatabaseBlueprintsResult.fromJson constructor

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

Implementation

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