toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'format': format,
      'id': id,
      if (sendTelemetry != null) 'sendTelemetry': sendTelemetry,
      if (showUser != null) 'showUser': showUser,
      if (url != null) 'url': url,
      if (urlLabel != null) 'urlLabel': urlLabel,
      if (variables != null) 'variables': variables,
    };