toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (newTitle != null) 'newTitle': newTitle!,
      if (oldTitle != null) 'oldTitle': oldTitle!,
    };