You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
340 B

class Page {
String? id;
String? name;
dynamic url;
Page({this.id, this.name, this.url});
factory Page.fromJson(Map<String, dynamic> json) => Page(
id: json['id'] as String?,
name: json['name'] as String?,
url: json['url'] as dynamic,
);
Map<String, dynamic> toJson() => {'id': id, 'name': name, 'url': url};
}