toJson method

Map<String, dynamic> toJson()

Implementation

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