TextEdit.fromJson constructor

TextEdit.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory TextEdit.fromJson(Map<String, Object?> json) => TextEdit(
  Range.fromJson(json['range'] as Map<String, Object?>),
  json['newText'] as String? ?? '',
);