CmsHasuraDelegate class

Constructors

CmsHasuraDelegate(CmsHasuraService hasuraService, {required GraphQLClient client, required CmsHasuraDataTable table, CmsFilterNotEquals? archivedFilter, CmsGraphQLFields fields = const {}})
const

Properties

archivedFilter → CmsFilterNotEquals?
final
client → GraphQLClient
final
fields → CmsGraphQLFields
final
hashCode → int
The hash code for this object.
no setterinherited
hasuraService → CmsHasuraService
final
idKey → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → CmsHasuraDataTable
final

Methods

create(JsonMap value) → Future<JsonMap>
Responsible for creating new object
delete(JsonMap value) → Future<void>
Responsible for deleting an object
get({CmsFunctionsSortingParams? sorting, CmsFilter filter = const CmsFilter.all(), required CmsFunctionsPagingParams paging}) → Future<List<JsonMap>>
Responsible for loading CmsTable items.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(JsonMap value, JsonMap _) → Future<JsonMap>
Responsible for updating existing item within the table

Operators

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