GetRelationalDatabaseBundlesResult.fromJson constructor

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

Implementation

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