toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final isolationMode = this.isolationMode;
  final runAs = this.runAs;
  return {
    if (isolationMode != null) 'IsolationMode': isolationMode.toValue(),
    if (runAs != null) 'RunAs': runAs,
  };
}