GenerateInput class

Constructors

GenerateInput({String? brief, String? channels, String? design, String? doctype, String? kind, String? model, String? product, String? project, String? sourceMedia, String? title, String? tone, String? voice})
Returns a new GenerateInput instance.

Properties

brief ↔ String?
the brief/goal driving copy generation
getter/setter pair
channels ↔ String?
target channels (SocialPost)
getter/setter pair
design ↔ String?
studio design slug (asset source)
getter/setter pair
doctype ↔ String?
Campaign | SocialPost | Asset
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
kind ↔ String?
asset kind: ecom|product|lifestyle|hover|hero
getter/setter pair
model ↔ String?
optional zen model override (copy)
getter/setter pair
product ↔ String?
commerce product handle (copy context)
getter/setter pair
project ↔ String?
brand/site sub-scope (billing + tenancy axis)
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceMedia ↔ String?
asset source image (design CAD/photo)
getter/setter pair
title ↔ String?
optional explicit title
getter/setter pair
tone ↔ String?
tone override for a single draft
getter/setter pair
voice ↔ String?
brand-voice guidance for the copy director
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → GenerateInput?
Returns a new GenerateInput instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<GenerateInput>
mapFromJson(dynamic json) → Map<String, GenerateInput>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<GenerateInput>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.