StyleDeclarationEdit.fromJson constructor

StyleDeclarationEdit.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory StyleDeclarationEdit.fromJson(Map<String, dynamic> json) {
  return StyleDeclarationEdit(
    styleSheetId: StyleSheetId.fromJson(json['styleSheetId'] as String),
    range: SourceRange.fromJson(json['range'] as Map<String, dynamic>),
    text: json['text'] as String,
  );
}