isTokenExpired method
Implementation
@override
Future isTokenExpired({required MethodCall call}) async{
final isTokenExpired = await _getModuleInstance().isTokenExpired();
return {
"success": true,
"message": isTokenExpired ? "Token has expired" : "Token has not expired",
"data": {
"isTokenExpired": isTokenExpired
}
};
}