toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (name != null) 'name': name!,
      if (options != null) 'options': options!,
      if (requestStreaming != null) 'requestStreaming': requestStreaming!,
      if (requestTypeUrl != null) 'requestTypeUrl': requestTypeUrl!,
      if (responseStreaming != null) 'responseStreaming': responseStreaming!,
      if (responseTypeUrl != null) 'responseTypeUrl': responseTypeUrl!,
      if (syntax != null) 'syntax': syntax!,
    };