toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'styleSheetId': styleSheetId.toJson(),
    'frameId': frameId.toJson(),
    'sourceURL': sourceURL,
    'origin': origin.toJson(),
    'title': title,
    'disabled': disabled,
    'isInline': isInline,
    'isMutable': isMutable,
    'isConstructed': isConstructed,
    'startLine': startLine,
    'startColumn': startColumn,
    'length': length,
    'endLine': endLine,
    'endColumn': endColumn,
    if (sourceMapURL != null) 'sourceMapURL': sourceMapURL,
    if (ownerNode != null) 'ownerNode': ownerNode!.toJson(),
    if (hasSourceURL != null) 'hasSourceURL': hasSourceURL,
    if (loadingFailed != null) 'loadingFailed': loadingFailed,
  };
}