PromptSummary.fromJson constructor

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

Implementation

factory PromptSummary.fromJson(Map<String, dynamic> json) {
  return PromptSummary(
    arn: json['Arn'] as String?,
    id: json['Id'] as String?,
    name: json['Name'] as String?,
  );
}