ShopifyCustom class

ShopifyCustom class handles requiremts for the need of custom queries and mutations that are not available in the package.

Mixed in types

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkForError(QueryResult<Object?> queryResult, {String? key, String? errorKey}) → void
throws a OperationException if the operation was wrong throws a ShopifyException if shopify reports an error
inherited
customMutation({required String gqlMutation, Map<String, dynamic> variables = const {}, bool adminAccess = false}) Future<Map<String, dynamic>?>
Returns a Map of String and dynamic.
customQuery({required String gqlQuery, Map<String, dynamic> variables = const {}, bool adminAccess = false}) Future<Map<String, dynamic>?>
Returns a Map of String and dynamic.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ShopifyCustom
final