toJson method

Map<String, dynamic> toJson()

Implementation

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