mirrored_repositories/app_agendamento/lib/core
sealed class Result<R, T> {
  const Result();
}

final class Success<R, T> extends Result<R, T> {
  const Success(this.object) : super();
  final T object;
}

final class Failure<R, T> extends Result<R, T> {
  const Failure(this.error) : super();
  final R error;
}
