fromJson static method
Inherited by: DiffEntityTypeDelete DiffEntityTypeInsert DiffEntityTypeReplace
Implementation
static DiffEntityTypeReplace? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return DiffEntityTypeReplace(oldText: (json['old_text'] as String?) ?? '');
}