GetBlueprintsResult.fromJson constructor

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

Implementation

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