toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (links != null) r'_links': links,
if (createdAt != null) r'createdAt': createdAt!.toUtc().toIso8601String(),
if (id != null) r'id': id,
r'point': point,
if (type != null) r'type': type,
};
}