posts method
The game calling dart:developer's postEvent with kind and
data — flutter3d_game's postToolEvent posts flutter3d.<kind> —
at time, milliseconds since the epoch as the VM stamps it.
Implementation
void posts(
String kind, {
Map<String, Object?> data = const <String, Object?>{},
int time = 0,
}) => _event('Extension', <String, Object?>{
'kind': 'Extension',
'extensionKind': kind,
'extensionData': data,
'timestamp': time,
'isolate': <String, Object?>{
'type': '@Isolate',
'id': isolateId,
'name': 'main',
'number': '1',
'isSystemIsolate': false,
},
});