DescribeMergeConflictsOutput.fromJson constructor
DescribeMergeConflictsOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeMergeConflictsOutput.fromJson(Map<String, dynamic> json) {
return DescribeMergeConflictsOutput(
conflictMetadata: ConflictMetadata.fromJson(
json['conflictMetadata'] as Map<String, dynamic>),
destinationCommitId: json['destinationCommitId'] as String,
mergeHunks: (json['mergeHunks'] as List)
.whereNotNull()
.map((e) => MergeHunk.fromJson(e as Map<String, dynamic>))
.toList(),
sourceCommitId: json['sourceCommitId'] as String,
baseCommitId: json['baseCommitId'] as String?,
nextToken: json['nextToken'] as String?,
);
}