CSSScope.fromJson constructor
Implementation
factory CSSScope.fromJson(Map<String, dynamic> json) {
return CSSScope(
text: json['text'] as String,
range: json.containsKey('range')
? SourceRange.fromJson(json['range'] as Map<String, dynamic>)
: null,
styleSheetId: json.containsKey('styleSheetId')
? StyleSheetId.fromJson(json['styleSheetId'] as String)
: null,
);
}