EmptyResult class

A successful result that carries no data.

Inheritance

Constructors

EmptyResult({ResultMetaObject? $meta, String resultType = 'complete'})
Creates an EmptyResult.

Properties

$meta ↔ ResultMetaObject?
Optional _meta object.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
resultType ↔ String
Indicates how the client should parse this result.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unknown ↔ Map<String, Object?>?
Any additional unknown fields returned by the server.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
Converts this Result into a JSON-compatible map.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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