FunctionModel class

Annotations
  • @JsonSerializable.new(explicitToJson: true, includeIfNull: false)

Constructors

FunctionModel({required String name, required String description, required List<Parameter> parameters, Return? return_, Map<String, Return>? stream})
eventName -> Schema, for streaming return
FunctionModel.fromJson(Map<String, dynamic> json)
factory

Properties

description ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String
getter/setter pair
parameters ↔ List<Parameter>
getter/setter pair
return_ ↔ Return?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stream ↔ Map<String, Return>?
for once return
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.
inherited

Operators

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