cardDetails property Null safety

CardDetails? cardDetails

Implementation

CardDetails? get cardDetails;