CSSLayer.fromJson constructor
Implementation
factory CSSLayer.fromJson(Map<String, dynamic> json) {
return CSSLayer(
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,
);
}