GetMergeOptionsOutput.fromJson constructor
Implementation
factory GetMergeOptionsOutput.fromJson(Map<String, dynamic> json) {
return GetMergeOptionsOutput(
baseCommitId: json['baseCommitId'] as String,
destinationCommitId: json['destinationCommitId'] as String,
mergeOptions: (json['mergeOptions'] as List)
.whereNotNull()
.map((e) => (e as String).toMergeOptionTypeEnum())
.toList(),
sourceCommitId: json['sourceCommitId'] as String,
);
}