toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'id': id.toString(),
'is_default': isDefault,
'is_dark': isDark,
'name': name,
'document': document?.toJson(),
'type': type?.toJson(),
'@type': constructor,
};