loginWithEmail method
Future<Map<String, dynamic> >
loginWithEmail({
- required String countryCode,
- required String email,
- required String password,
- required bool createHome,
override
Login with email.
countryCode,email,password,createHome details are passed on to the native
loginWithEmail function on the native side is invoked
Implementation
@override
Future<Map<String, dynamic>> loginWithEmail({
required String countryCode,
required String email,
required String password,
required bool createHome,
}) async {
final Map<dynamic, dynamic> result = await methodChannel
.invokeMethod('loginWithEmail', <String, dynamic>{
'countryCode': countryCode,
'email': email,
'password': password,
'createHome': createHome,
});
return Map<String, dynamic>.from(result);
}