GenerateRequest.fromJson constructor

GenerateRequest.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory GenerateRequest.fromJson(Map<String, Object?> json) =>
    GenerateRequest(
      label: json["label"] == null ? null : json["label"] as String,
    );