toJson method
Serializes to wire JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'type': type,
'command': command,
if (args != null) 'args': args,
if (env != null) 'env': env,
if (alwaysLoad != null) 'alwaysLoad': alwaysLoad,
};