createDefaultInstantAdapter method

NutrientPlatformAdapter createDefaultInstantAdapter()

Creates a fresh default adapter for an Instant view — the Instant counterpart of createDefaultAdapter, returning a controller that also implements NutrientInstantController so a bare NutrientInstantView surfaces the Instant sync methods in onControllerReady.

Android and iOS override this. The base implementation throws so platforms without runtime Instant controls (Web configures Instant at load time) surface the gap — callers handle UnimplementedError.

Implementation

NutrientPlatformAdapter createDefaultInstantAdapter() =>
    throw UnimplementedError(
      'createDefaultInstantAdapter() has not been implemented for this '
      'platform.',
    );