toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dynamicLinks != null) 'dynamicLinks': dynamicLinks!,
      if (function != null) 'function': function!,
      if (glob != null) 'glob': glob!,
      if (path != null) 'path': path!,
      if (regex != null) 'regex': regex!,
      if (run != null) 'run': run!,
    };