toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'path': path,
  'recursive': recursive,
  'actions': actions.map((action) => action.name).toList(),
  'excluded_paths': excludedPaths,
};