cost property Null safety

int cost
final

Implementation

final int cost;