create method
EMIT create serviceName
Create new 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> create(
{required String serviceName,
required Map<String, dynamic> data,
Map<String, dynamic> params = const {}}) {
return this
.scketio
.create(serviceName: serviceName, data: data, params: params);
}