UiModificationContextDetails.fromJson constructor

UiModificationContextDetails.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory UiModificationContextDetails.fromJson(Map<String, Object?> json) {
  return UiModificationContextDetails(
    id: json[r'id'] as String?,
    isAvailable: json[r'isAvailable'] as bool? ?? false,
    issueTypeId: json[r'issueTypeId'] as String? ?? '',
    projectId: json[r'projectId'] as String? ?? '',
    viewType: json[r'viewType'] as String? ?? '',
  );
}