toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (author != null) 'author': author!,
      if (name != null) 'name': name!,
      if (read != null) 'read': read!,
      if (title != null) 'title': title!,
    };