create static method

GmailSendMessage create({
  1. String? special_type,
  2. String? email_id,
  3. String? text,
})
override

return original data json

Implementation

static GmailSendMessage create({
  String? special_type,
  String? email_id,
  String? text,
}) {
  GmailSendMessage gmailSendMessage = GmailSendMessage({
    "@type": special_type,
    "email_id": email_id,
    "text": text,
  });

  return gmailSendMessage;
}