configure method
Configure the SDK.
Implementation
@override
Future<void> configure(TelegramLoginConfiguration config) async {
try {
await methodChannel.invokeMethod<void>('configure', config.toMap());
_isConfigured = true;
} on PlatformException catch (e) {
throw TelegramLoginError.platformError(
e.message ?? 'Configuration failed',
);
}
}