toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (customErrorResponsePolicy != null)
    'customErrorResponsePolicy': customErrorResponsePolicy!,
  if (paths != null) 'paths': paths!,
  if (routeAction != null) 'routeAction': routeAction!,
  if (service != null) 'service': service!,
  if (urlRedirect != null) 'urlRedirect': urlRedirect!,
};