toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (context != null) 'context': context!,
      if (emailAddress != null) 'emailAddress': emailAddress!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (mailerContact != null) 'mailerContact': mailerContact!,
      if (method != null) 'method': method!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (token != null) 'token': token!,
    };