BatchDescribeMergeConflictsOutput.fromJson constructor
BatchDescribeMergeConflictsOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BatchDescribeMergeConflictsOutput.fromJson(
Map<String, dynamic> json) {
return BatchDescribeMergeConflictsOutput(
conflicts: (json['conflicts'] as List)
.whereNotNull()
.map((e) => Conflict.fromJson(e as Map<String, dynamic>))
.toList(),
destinationCommitId: json['destinationCommitId'] as String,
sourceCommitId: json['sourceCommitId'] as String,
baseCommitId: json['baseCommitId'] as String?,
errors: (json['errors'] as List?)
?.whereNotNull()
.map((e) => BatchDescribeMergeConflictsError.fromJson(
e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}