typeToMap static method
- WebDriverCommandType type
Util method for converting WebDriverCommandType to a map entry.
Used for converting messages to json format.
Implementation
static Map<String, dynamic> typeToMap(WebDriverCommandType type) => <String, dynamic>{
'web_driver_command': '$type',
};