toJson method
Implementation
Map<String, dynamic> toJson() {
return {
FlutterUxOcclusionKeys.name: name,
FlutterUxOcclusionKeys.type: type.index,
FlutterUxOcclusionKeys.screens: screens,
FlutterUxOcclusionKeys.excludeMentionedScreens: excludeMentionedScreens,
FlutterUxOcclusionKeys.config: configuration
};
}