VrInputEvent constructor
VrInputEvent({
- required VrInputType type,
- required VrInputSource source,
- String? targetId,
- Map<
String, dynamic> ? data, - bool active = true,
- DateTime? timestamp,
Implementation
VrInputEvent({
required VrInputType type,
required VrInputSource source,
String? targetId,
Map<String, dynamic>? data,
bool active = true,
DateTime? timestamp,
}) : _type = type,
_source = source,
_targetId = targetId,
_data = data,
_active = active,
_timestampMicrosecondsSinceEpoch =
(timestamp ?? DateTime.now()).microsecondsSinceEpoch;