Notebook.fromJson constructor
Notebook.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Notebook.fromJson(Map<String, dynamic> json) {
return Notebook(
createdBy:
json['createdBy'] != null ? User.fromJson(json['createdBy']) : null,
createdDateTime: json['createdDateTime'],
id: json['id'],
isDefault: json['isDefault'],
isShared: json['isShared'],
lastModifiedBy: json['lastModifiedBy'] != null
? User.fromJson(json['lastModifiedBy'])
: null,
lastModifiedDateTime: json['lastModifiedDateTime'],
links: json['links'] != null ? (json['links']) : null,
displayName: json['displayName'],
sectionGroupsUrl: json['sectionGroupsUrl'],
sectionsUrl: json['sectionsUrl'],
self: json['self'],
userRole: json['userRole'],
);
}