MirrorflyUikit class

Constructors

MirrorflyUikit()

Properties

enableLocalNotification bool
getter/setter pair
getter/setter pair
googleMapKey String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showMobileNumberOnList bool
getter/setter pair
showStatusOption bool
getter/setter pair

Methods

initUIKIT({required GlobalKey<NavigatorState> navigatorKey, required String licenseKey, String? googleMapKey, required String iOSContainerID, String storageFolderName = "Mirrorfly", bool showMobileNumberOnList = true, bool showStatusOption = true, bool enableDebugLog = true, bool chatHistoryEnable = true, bool enableMobileNumberLogin = false, bool enableLocalNotification = true}) Future<Map>
Used as a initUIKIT class for MirrorflyUikit
isOnGoingCall() Future<bool?>
Used as a isOnGoingCall class for MirrorflyUikit used to check if there is an ongoing call this method works in Android, in iOS returns always false returns the bool value
login({required String userIdentifier, String fcmToken = ""}) Future<Map>
Used as a login class for MirrorflyUikit If the userIdentifier is new, the same method will register and login into Mirrorfly else it will act as a login method
logoutFromUIKIT() Future<Map<String, dynamic>>
Used as a register class for MirrorflyUikit Use this Method to logout from our UIkit this will clear all the chat data. sample response {'status': true, 'message': 'Logout successfully};
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

getTheme MirrorFlyAppTheme?
getter/setter pair
instance MirrorflyUikit
getter/setter pair
isSDKInitialized bool
getter/setter pair
theme String
getter/setter pair

Static Methods

getPlatformVersion() Future<String?>
registerUser({required String userIdentifier, String fcmToken = ""}) Future<Map>
Used as a register class for MirrorflyUikit
setResponse(bool status, String message) Map<String, dynamic>