toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"id": id,
"is_default": isDefault,
"is_dark": isDark,
"name": name,
"document": document?.toJson(),
"type": type.toJson(),
};
}