FaunaResponse class

Annotations
  • @JsonSerializable()

Constructors

FaunaResponse({Object? resource, List<Map<String, dynamic>>? errors})
FaunaResponse.fromBody(String responseBody)
factory
FaunaResponse.fromJson(Map<String, dynamic> json)
factory

Properties

errors List<Map<String, dynamic>>?
final
hasErrors bool
no setter
hashCode int
The hash code for this object.
no setterinherited
raw String?
getter/setter pair
resource Object?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMap() Map<String, dynamic>
Convenience method to convert result to a Dart Map
asPage() Page
Convenience method to build a Page object from query result.
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