setExpiresInMinutes static method
Implementation
static Future<void> setExpiresInMinutes(int expiresInMinutes) async {
try {
await platform.invokeMethod('setExpiresInMinutes',
<String, int>{'expiresInMinutes': expiresInMinutes});
} on PlatformException catch (e) {
showToast(e.message.toString());
}
}