loginViaTwitter method
Implementation
@override
Future<Map<Object?, Object?>> loginViaTwitter() async {
try {
final result = await methodChannel
.invokeMethod<Map<Object?, Object?>>('loginViaTwitter');
log("=====================loginViaTwitter[SUCCESS]::==========================\n$result");
return result ?? {};
} on PlatformException catch (e) {
log("=====================loginViaTwitter[ERROR]::==========================\n$e");
return {};
}
}