setup method

Future<bool> setup()

Setup READ & WRITE permissions for the device_calendar and return whether or not the setup has been successful.

Implementation

Future<bool> setup() async {
  if (!await hasPermissions()) return await requestPermissions();
  return true;
}