toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authority != null) 'authority': authority!,
      if (failOpen != null) 'failOpen': failOpen!,
      if (forwardHeaders != null) 'forwardHeaders': forwardHeaders!,
      if (name != null) 'name': name!,
      if (service != null) 'service': service!,
      if (supportedEvents != null) 'supportedEvents': supportedEvents!,
      if (timeout != null) 'timeout': timeout!,
    };