BuildRequest class

Constructors

BuildRequest({String? name, String? provider, String? source_, String? spec})
Returns a new BuildRequest instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is the plugin's name: one lowercase path segment (a-z0-9, _ or -), and the id the runtime loads it by.
getter/setter pair
provider ↔ String?
Provider is the connectors provider whose credential the plugin reads at run time. Empty for a plugin that needs none.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source_ ↔ String?
Source is TypeScript to build as-is. Exactly one of Source or Spec.
getter/setter pair
spec ↔ String?
Spec is API documentation — an OpenAPI document, or prose describing the endpoints — that the generator turns into Source. The generated source is returned in the response, so a caller can read what will run before it runs.
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) → BuildRequest?
Returns a new BuildRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BuildRequest>
mapFromJson(dynamic json) → Map<String, BuildRequest>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BuildRequest>>

Constants

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