getIdToken method

  1. @override
Future<String> getIdToken()
override

After user connected, this function returns the id token of the user

Implementation

@override
Future<String> getIdToken() async {
  final rawJson = await methodChannel.invokeMethod('getIdToken');
  // final decodedJson = jsonDecode(rawJson);
  return rawJson;
}