create static method

WhisperResponse create({
  1. String? special_type,
  2. String? text,
  3. String? message,
})
override

return original data json

Implementation

static WhisperResponse create({
  String? special_type,
  String? text,
  String? message,
}) {
  WhisperResponse whisperResponse = WhisperResponse({
    "@type": special_type,
    "text": text,
    "message": message,
  });

  return whisperResponse;
}