@override Future<int?> getPeriod() async { return await methodChannel.invokeMethod<int>('getPeriod'); }