toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (excludeChats != null) 'excludeChats': excludeChats!,
      if (from != null) 'from': from!,
      if (hasAttachment != null) 'hasAttachment': hasAttachment!,
      if (negatedQuery != null) 'negatedQuery': negatedQuery!,
      if (query != null) 'query': query!,
      if (size != null) 'size': size!,
      if (sizeComparison != null) 'sizeComparison': sizeComparison!,
      if (subject != null) 'subject': subject!,
      if (to != null) 'to': to!,
    };