toJson method
Implementation
Map<String, dynamic> toJson() {
final encodingType = this.encodingType;
final environment = this.environment;
final execArgs = this.execArgs;
final executable = this.executable;
final memorySize = this.memorySize;
final pinned = this.pinned;
final timeout = this.timeout;
return {
if (encodingType != null) 'EncodingType': encodingType.toValue(),
if (environment != null) 'Environment': environment,
if (execArgs != null) 'ExecArgs': execArgs,
if (executable != null) 'Executable': executable,
if (memorySize != null) 'MemorySize': memorySize,
if (pinned != null) 'Pinned': pinned,
if (timeout != null) 'Timeout': timeout,
};
}