Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
///
/// Generated file. Do not edit.
///
library generated_userService;
import "dart:async";
import "package:remote_services/client/client.dart";
import "proto/messages.dart";
class UserService extends Service {
UserService(ServiceClient client) : super(client);
Future<User> search(UserSearch requestMessage) => client.dispatch('/UserService.search', requestMessage, User, true);
Future delete(DeleteUser requestMessage) => client.dispatch('/UserService.delete', requestMessage, null, true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment