toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (headerSet != null) 'headerSet': headerSet!,
      if (hosts != null) 'hosts': hosts!,
      if (methods != null) 'methods': methods!,
      if (paths != null) 'paths': paths!,
    };