FilePathRule.fromJson constructor
Implementation
factory FilePathRule.fromJson(Map<String, dynamic> json) => FilePathRule(
path: json['path'] as String,
recursive: json['recursive'] as bool,
actions: (json['actions'] as List).map((value) => FileAction.values.byName(value as String)),
excludedPaths: ((json['excluded_paths'] as List?) ?? []).cast<String>(),
);