toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (api != null) 'api': api!,
      if (destination != null) 'destination': destination!,
      if (extensions != null) 'extensions': extensions!,
      if (origin != null) 'origin': origin!,
      if (request != null) 'request': request!,
      if (resource != null) 'resource': resource!,
      if (response != null) 'response': response!,
      if (source != null) 'source': source!,
    };