changeTransport method
Implementation
Future<Map?> changeTransport({required String type}) async {
final action = OmiAction(
actionName: OmiActionName.CHANGE_TRANSPORT,
data: {
"type": type,
},
);
final result = await _controller.action(action);
if (result != null) {
return result as Map;
}
return null;
}