toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attachments != null) 'attachments': attachments!,
      if (body != null) 'body': body!,
      if (createTime != null) 'createTime': createTime!,
      if (name != null) 'name': name!,
      if (permissions != null) 'permissions': permissions!,
      if (title != null) 'title': title!,
      if (trashTime != null) 'trashTime': trashTime!,
      if (trashed != null) 'trashed': trashed!,
      if (updateTime != null) 'updateTime': updateTime!,
    };