StatusMappingDTO.fromJson constructor
Implementation
factory StatusMappingDTO.fromJson(Map<String, Object?> json) {
return StatusMappingDTO(
issueTypeId: json[r'issueTypeId'] as String? ?? '',
projectId: json[r'projectId'] as String? ?? '',
statusMigrations: (json[r'statusMigrations'] as List<Object?>?)
?.map((i) => StatusMigration.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}