id property

String get id

任务 ID

Implementation

String get id {
  if (_explicitId != null) return _explicitId;
  final name = config.name;
  if (name != null) return name;
  if (provider != null) return provider!.runtimeType.toString();
  return 'method_task_${method.hashCode}';
}