update method
EMIT update serviceName
Update a ressource
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
Uploading file ?: Use rest client, socketio client cannot upload file
Implementation
Future<dynamic> update(
{required String serviceName,
required String objectId,
required Map<String, dynamic> data,
Map<String, dynamic> params = const {}}) {
return this.scketio.update(
serviceName: serviceName,
objectId: objectId,
data: data,
params: params);
}