CreditItem constructor

CreditItem(
  1. Credit data
)

CreditItem factory constructor

Implementation

factory CreditItem(Credit data) = _CreditItem;