DiffRequest.fromJson constructor

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

Implementation

factory DiffRequest.fromJson(Map<String, dynamic> json) => DiffRequest(
  filePath: json['filePath'] as String,
  originalContent: json['originalContent'] as String,
  modifiedContent: json['modifiedContent'] as String,
  title: json['title'] as String?,
  readOnly: json['readOnly'] as bool?,
);