Conflict.fromJson constructor
Implementation
factory Conflict.fromJson(Map<String, dynamic> json) {
return Conflict(
conflictMetadata: json['conflictMetadata'] != null
? ConflictMetadata.fromJson(
json['conflictMetadata'] as Map<String, dynamic>)
: null,
mergeHunks: (json['mergeHunks'] as List?)
?.whereNotNull()
.map((e) => MergeHunk.fromJson(e as Map<String, dynamic>))
.toList(),
);
}