registerAccountWithEmail method
countryCode, email, password, code details are passed to the native implementation
registerAccountWithEmail function on the native side is invoked
Implementation
@override
Future<Map<String, dynamic>> registerAccountWithEmail({
required String countryCode,
required String email,
required String password,
required String code,
}) async {
final result = await methodChannel.invokeMethod<Map<dynamic, dynamic>>(
'registerAccountWithEmail',
<String, dynamic>{
'countryCode': countryCode,
'email': email,
'password': password,
'code': code,
},
);
return result?.cast<String, dynamic>() ?? {};
}