toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (expectation != null) 'expectation': expectation!,
      if (expressionReportLevel != null)
        'expressionReportLevel': expressionReportLevel!,
      if (functionMocks != null) 'functionMocks': functionMocks!,
      if (pathEncoding != null) 'pathEncoding': pathEncoding!,
      if (request != null) 'request': request!,
      if (resource != null) 'resource': resource!,
    };