Files
flutterApp/lib/features/my/repository/my_repository.dart
2026-03-04 21:21:43 +08:00

9 lines
393 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// lib/features/devices/domain/repositories/route_planning_repository.dart
import 'package:fpdart/fpdart.dart';
import 'package:maibu_satabot_v2/features/devices/domain/errors/device_failure.dart';
abstract class MyRepository {
// 抽象方法定义:参数是 String nickName,返回 Future<Either<DeviceFailure, int>>
Future<Either<DeviceFailure, int>> updateName(String nickName);
}