toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (name != null) 'name': name!,
      if (parameters != null) 'parameters': parameters!,
      if (searchTrial != null) 'searchTrial': searchTrial!,
      if (trainTrial != null) 'trainTrial': trainTrial!,
    };