registeredGeofences method

Future<List<GeofenceModel>> registeredGeofences()

Implementation

Future<List<GeofenceModel>> registeredGeofences() async {
  List<Map<String, dynamic>> geofences =
      List.from(await _channel.invokeMethod('geofence.registeredGeofences'))
          .map((geofence) => Map<String, dynamic>.from(geofence))
          .toList();
  return _mapper.map(geofences);
}