toJson method

String toJson()

Implementation

String toJson() {
  switch (this) {
    case WebhookFormat.json:
      return 'JSON';
  }
}