Part typedef

Part = StandardPart

Alias for StandardPart for API convenience.

For most dartantic users: Use Part as before - it works identically.

For custom part types: Import genai_primitives directly to extend the base Part class:

import 'package:genai_primitives/genai_primitives.dart' as gaip;
class MyCustomPart extends gaip.Part { ... }

Implementation

typedef Part = StandardPart;