toJson method

Map<String, dynamic> toJson()

Implementation

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