toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'description': ?description,
  if (hosts.isNotDefault) 'hosts': hosts,
  'pathMatcher': ?pathMatcher,
};