find method

Future find({
  1. required String serviceName,
  2. required Map<String, dynamic> query,
})

Because we love the realtime side of feathers js, by default socketio's methods can be used on FlutterFeathersjs.{methodName}

EMIT find serviceName

Retrieves a list of all matching query resources from the service

If no error occured, you will get exactly feathersjs's data format

Otherwise, an exception of type FeatherJsError will be raised

Use FeatherJsErrorType.{ERROR} to known what happen

Implementation

Future<dynamic> find({
  required String serviceName,
  required Map<String, dynamic> query,
}) async {
  return this.scketio.find(serviceName: serviceName, query: query);
}