create static method
return original data json
Implementation
static WhisperResponse create({
String special_type = "whisperResponse",
String? text,
String? message,
}) {
// WhisperResponse whisperResponse = WhisperResponse({
Map whisperResponse_data_create_json = {
"@type": special_type,
"text": text,
"message": message,
};
whisperResponse_data_create_json.removeWhere((key, value) => value == null);
WhisperResponse whisperResponse_data_create = WhisperResponse(whisperResponse_data_create_json);
return whisperResponse_data_create;
}