toMap method
Implementation
Map<String, dynamic> toMap() => {
'name': name,
'command': command,
if (env != null) 'env': env,
if (workingDirectory != null) 'working_directory': workingDirectory,
if (timeout != null) 'timeout': timeout,
'allow_failure': allowFailure,
if (description != null) 'description': description,
};