transportMode property
Gets the transport mode used at the time the log was recorded.
The default value is RecordingTransportMode.unknown indicating that the transport mode was not set.
Implementation
RecordingTransportMode get transportMode {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderConfiguration',
'getTransportMode',
);
return RecordingTransportMode.values.firstWhere(
(final RecordingTransportMode e) => e.id == resultString['result'],
);
}
Sets the transport mode used at the time the log was recorded.
The default value is RecordingTransportMode.unknown indicating that the transport mode was not set.
Implementation
set transportMode(final RecordingTransportMode transportMode) {
objectMethod(
pointerId,
'RecorderConfiguration',
'setTransportMode',
args: transportMode.id,
);
}