Controller class

Available Extensions

Constructors

Controller({required String host, int port = 443, required String username, required String password, String siteId = 'default', dynamic isUnifiOs = true})
Controller.fromMap(Map<String, dynamic> map)
factory

Properties

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

Methods

dispose() → void
fetch(String endpoint, {Method method = Method.get, Map<String, dynamic>? payloads, String? siteId, bool authenticate = true}) Future
login() Future<bool>
logout() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String endpoint, Map<String, dynamic> payloads, {String? siteId, bool authenticate = true}) Future
subscribe() Future<void>
toString() String
A string representation of this object.
inherited
use(String key, Ext ext()) Ext

Operators

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