DataService class abstract

Implementers

Constructors

DataService()

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

deleteAnalytic(String analyticId) Future<bool>
deleteAnalyticsResourcesByAnalytic(String analyticId) Future<bool>
deleteDashboard(String profileId) Future<bool>
deleteDevice(String deviceId) Future<bool>
deleteUnlinkAnalyticFromUser(String analyticId, String userId) Future<bool>
deleteUnlinkDeviceFromUser(String deviceId, String userId) Future<bool>
getAllDashboards() Future<DashboardProfiles>
getAllDevices() Future<Devices>
getAnalyticById(String id) Future<Analytics>
getAnalyticByVcodeId(String vcode, String id) Future<Analytics>
getAnalytics({int limit = 0, int offset = 0, String keyword = ''}) Future<Analytics>
getAnalyticsResources(String analyticId) Future<AnalyticsResources>
getAvatar() Future<UserAvatar>
getBrokerProperties() Future<BrokerProperties>
getCitiesByKeyword(String keyword) Future<Cities>
getCountriesByCode(String code) Future<Countries>
getDashboardsById(String id) Future<DashboardProfiles>
getDeviceById(String id) Future<Devices>
getDeviceBySN(String sn) Future<Devices>
getDeviceByVcodeId(String vcode, String id) Future<Devices>
getDevices({int limit = 0, int offset = 0, String keyword = ''}) Future<Devices>
getDevicesLogs(DevicesLogsParam param, {DateTime? timeStart}) Future<DevicesLogs>
getMyAnalytics() Future<Analytics>
getSharedAnalytics() Future<SharedAnalytics>
getSharedDevices() Future<SharedDevices>
getSharedUserByAnalyticId(String analyticId) Future<SharedUsers>
getSharedUserByDeviceId(String deviceId) Future<SharedUsers>
getStyledDevicesLogs(DevicesLogsParam param, LogsStyle style, int timeframeMinutes) Future<StyledDevicesLogs>
getUserAccount() Future<UserAccount>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postAcceptSharedAnalytic(String analyticId, String vcode) Future<bool>
postAcceptSharedDevice(String deviceId, String vcode) Future<bool>
postAnalyticsResources(AnalyticResource analyticResource) Future<bool>
postEmptyDashboardProfile(String name) Future<DashboardProfile>
postIgnoreSharedAnalytic(String analyticId, String vcode) Future<bool>
postIgnoreSharedDevice(String deviceId, String vcode) Future<bool>
postNewAnalytic(AnalyticWidgetParam param) Future<AnalyticWidget>
postShareAnalytic(String analyticId, String? destinationEmail) Future<String>
postShareDeviceViaEmail(String deviceId, String? destinationEmail) Future<String>
postUploadAvatar(File image) Future<bool>
putAnalytic(String analyticId, AnalyticWidgetParam param) Future<bool>
putClaimDevice(DeviceClaimParam param) Future<bool>
putDashboard(DashboardProfile newProfile) Future<bool>
putDevice(DeviceClaimParam param, DeviceOption options) Future<bool>
putUserOrganization(UserOrganization organization) Future<bool>
putUserProfile(UserProfile profile) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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