enable method

Future<void> enable()

Implementation

Future<void> enable() async {
  return plugins.length == 1
      ? plugins[0].enable()
      : throw _pluginNotAddedException('Analytics');
}