MergeMetadata.fromJson constructor

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

Implementation

factory MergeMetadata.fromJson(Map<String, dynamic> json) {
  return MergeMetadata(
    isMerged: json['isMerged'] as bool?,
    mergeCommitId: json['mergeCommitId'] as String?,
    mergeOption: (json['mergeOption'] as String?)?.toMergeOptionTypeEnum(),
    mergedBy: json['mergedBy'] as String?,
  );
}