toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'id'] = this.id;
    json[r'inboxId'] = this.inboxId;
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
    json[r'field'] = this.field;
    json[r'match'] = this.match;
    json[r'forwardToRecipients'] = this.forwardToRecipients;
    json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
  return json;
}