surfaceIds property

List<String> get surfaceIds

The surfaces this session created, in order.

Implementation

List<String> get surfaceIds => <String>[
  for (final step in steps)
    if (step is GenUiMessageStep)
      if ((step.message['createSurface'] as Map?)?['surfaceId']
          case final String id)
        id,
];