toInternal method
Implementation
Future<InternalContent> toInternal() async {
final res = await Future.wait(parts.map((part) async => await part.toInternal()).toList());
return InternalContent(role: role,parts:res );
}
Future<InternalContent> toInternal() async {
final res = await Future.wait(parts.map((part) async => await part.toInternal()).toList());
return InternalContent(role: role,parts:res );
}