toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final configure = this.configure;
  final deploy = this.deploy;
  final setup = this.setup;
  final shutdown = this.shutdown;
  final undeploy = this.undeploy;
  return {
    if (configure != null) 'Configure': configure,
    if (deploy != null) 'Deploy': deploy,
    if (setup != null) 'Setup': setup,
    if (shutdown != null) 'Shutdown': shutdown,
    if (undeploy != null) 'Undeploy': undeploy,
  };
}