get method

Future get({
  1. required String serviceName,
  2. required String objectId,
  3. Map<String, dynamic> params = const {},
})

EMIT get serviceName

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> get(
    {required String serviceName,
    required String objectId,
    Map<String, dynamic> params = const {}}) {
  return this
      .scketio
      .get(serviceName: serviceName, objectId: objectId, params: params);
}