toJson method

Map<String, dynamic> toJson()

Implementation

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