MethodChannelLocation constructor

MethodChannelLocation()

Implementation

factory MethodChannelLocation() {
  if (_instance == null) {
    const eventChannel = EventChannel('lyokone/location_stream');
    _instance = MethodChannelLocation.private(eventChannel);
  }
  return _instance!;
}