toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (defaultRouteAction != null)
        'defaultRouteAction': defaultRouteAction!,
      if (defaultService != null) 'defaultService': defaultService!,
      if (defaultUrlRedirect != null)
        'defaultUrlRedirect': defaultUrlRedirect!,
      if (description != null) 'description': description!,
      if (headerAction != null) 'headerAction': headerAction!,
      if (name != null) 'name': name!,
      if (pathRules != null) 'pathRules': pathRules!,
      if (routeRules != null) 'routeRules': routeRules!,
    };