clearActiveInferenceIdentity method

Future<void> clearActiveInferenceIdentity()

Clears the active inference identity (in-memory spec + persisted prefs).

Has a default body (rather than being abstract) so adding it does not break third-party ModelFileManager implementers at compile time — but the default THROWS rather than silently succeeding: a "clear" that quietly does nothing would leave a stale active identity persisted (a silent failure). Implementers that persist active state must override it.

Implementation

Future<void> clearActiveInferenceIdentity() async {
  throw UnimplementedError(
    'clearActiveInferenceIdentity is not implemented by this ModelFileManager',
  );
}