toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (id != null) 'id': id!,
      if (parents != null) 'parents': parents!,
      if (revision != null) 'revision': revision!,
      if (type != null) 'type': type!,
    };