consultarSessao method

  1. @override
Future<String?> consultarSessao({
  1. required String codigoAtivacao,
  2. String? sessaoConsultar,
})
override

Implementation

@override
Future<String?> consultarSessao(
    {required String codigoAtivacao, String? sessaoConsultar}) async {
  final consulta =
      await methodChannel.invokeMethod<String>('consultarSessao', {
    'codigoAtivacao': codigoAtivacao,
    'sessaoConsultar': int.parse(sessaoConsultar.toString())
  });
  return consulta;
}