toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (appName != null) {
    _json['appName'] = appName;
  }
  if (logoUrl != null) {
    _json['logoUrl'] = logoUrl;
  }
  if (magicLinkTemplate != null) {
    _json['magicLinkTemplate'] = magicLinkTemplate;
  }
  if (templateVariables != null) {
    _json['templateVariables'] = templateVariables;
  }
  if (templateId != null) {
    _json['templateId'] = templateId;
  }
  return _json;
}