UserRemoteDataSource class abstract

Implementers

Constructors

UserRemoteDataSource.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createEntity({required Map<String, dynamic> body}) Future<Either<NetworkException, UserApiDto>>
deletePhoto({required String id}) Future<Either<NetworkException, NoContentApiDto>>
getEntitiesByParams({required Map<String, String> filters, ListOptions listOptions = ListOptions.ACTIVE_ONLY, String? include}) Future<Either<NetworkException, UserDtoPagination>>
getEntityById({required String id, String? include}) Future<Either<NetworkException, UserApiDto>>
getRolesFromUserById({required String id}) Future<Either<NetworkException, List<RoleApiDto>>>
getRoutesFromUser() Future<Either<NetworkException, List<RouteApiDto>>>
getUsersDisponiveis({Map<String, String> filters = const {}}) Future<Either<NetworkException, List<UserApiDto>>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restorePassword({required Map<String, dynamic> body}) Future<Either<NetworkException, NoContentApiDto>>
toString() String
A string representation of this object.
inherited
updateEntity({required String id, required Map<String, dynamic> body}) Future<Either<NetworkException, UserApiDto>>
updatePassword({required String id, required Map<String, dynamic> body}) Future<Either<NetworkException, NoContentApiDto>>
updateSettings(String id, Map<String, dynamic> body) Future<Either<NetworkException, NoContentResponse>>
uploadPhoto({required String id, required String fileName, required Uint8List bytes}) Future<Either<NetworkException, ImageApiDto>>

Operators

operator ==(Object other) bool
The equality operator.
inherited