Session class
- Available extensions
Constructors
- Session()
Properties
Methods
-
availabilityMode(
AvailabilityMode mode) → Future -
chat(
String contactId, {String? text, Map< String, dynamic> ? resource}) → Future<Chat> -
checkIn(
int id, int fileId, int version, File file) → Future< Attachment> -
checkOut(
int id, int fileId, int version) → Future -
combinations(
String cube, {Map< String, dynamic> ? axes}) → Future<List< List< >String> > -
comment(
int documentId, {String? text, Map< String, dynamic> ? resource}) → Future<Comment> -
commentsTyping(
int documentId) → Future -
company(
) → Future< String?> -
constraints(
String cube, {Map< String, dynamic> ? axes}) → Future<Map< String, Map< >String, dynamic> > -
conversation(
String contactId, {DateTime? before, int? take}) → Future< Iterable< Chat> > -
create(
String formId, {double? longitude, double? latitude}) → Future< RecipientModel> -
currencies(
) → Future< Iterable< CurrencyInfo> > -
Available on Session, provided by the Cube extension
Get currencies list. See exchangeRate -
dashboard(
String name) → Future -
deleteAttachment(
int id, int fileId, int version) → Future -
deleteComment(
int documentId, int commentId) → Future -
discard(
int id) → dynamic -
download(
int documentId, int fileId, {dynamic progress(int, int)?}) → Future< String> -
editComment(
int documentId, int commentId, {String? text, Map< String, dynamic> ? resource}) → Future<Comment> -
exchangeRate(
String code, {DateTime? date}) → Future< double> - Get currency exchange rate.
-
exists(
) → bool -
explore(
String cube, {Map< String, dynamic> ? axes}) → Future<List< Map< >String, dynamic> > -
exploreIndex(
String cube, String index, {Map< String, dynamic> ? axes}) → Future<List< Map< >String, dynamic> > -
find(
String id) → Future< UserInfo> -
Available on Session, provided by the Users extension
Find a user byid
-
findAll(
String name, {int? take}) → Future< List< UserInfo> > -
Available on Session, provided by the Users extension
List users filtered byname
-
flag(
int id, bool val) → Future -
geoLocation(
) → Future< LocationData?> -
get(
int id) → Future< RecipientModel> -
hasServerUri(
) → Future< bool> -
map(
String name) → Future< Map< String, String> > -
Available on Session, provided by the DataSource extension
Retrieve datatype values byname
-
messages(
{String? folderId, String? contains, QueryType? queryType, int? skip, int take = 20}) → Future< Iterable< HeaderModel> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifications(
{DateTime? before}) → Future< Iterable< NotificationBase> > -
online(
bool val) → Future -
patterns(
String cube) → Future< Iterable< PatternInfo> > -
refresh(
) → Future -
resolve(
String cube, {Map< String, dynamic> ? axes}) → Future<ExploreType> -
save(
int id, int version, [Map? data]) → Future< RecipientModel> -
seen(
String contactId) → Future -
seenComments(
int documentId) → Future< DateTime> -
seenMessages(
) → Future -
seenNotifications(
) → Future -
segmentValues(
String cube, String axis) → Future< Map< String, dynamic> > -
send(
int id, int version, String actionId, Map< String, dynamic> ? args, [Map? data]) → Future<RecipientModel> -
series(
String cube, List< String> xAxis, {List<String> ? series, List<String> ? indices, Map<String, dynamic> ? filters, bool? groupIndices, bool? inverseIndices}) → Future<List< CubeSeries> > -
Available on Session, provided by the Cube extension
Retrieve series of cube byxAxis
. Ifseries
are set, each CubeSeries.name receive the series group value. Ifindices
are set, each CubeSeries.index is set to the index name. -
setup(
String serverUri) → dynamic -
submit(
int id, int version, [Map? data]) → Future< RecipientModel> -
table(
String cube, List< String> columns, {List<String> ? indices, Map<String, dynamic> ? filters}) → Future<List< Map> > - Flat iterable records of cube.
-
toString(
) → String -
A string representation of this object.
inherited
-
tryRestore(
) → Future< bool> -
typing(
String contactId) → Future -
upload(
int id, int version, Iterable< File> files) → Future<List< Attachment> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited