copyWith method

Plans copyWith({
  1. String? planId,
  2. Duration? planDuration,
  3. Duration? sandBoxDuration,
})

Implementation

Plans copyWith({  String? planId,
  Duration? planDuration,
  Duration? sandBoxDuration,
}) => Plans(  planId: planId ?? _planId,
  planDuration: planDuration ?? _planDuration,
  sandBoxDuration: sandBoxDuration ?? _sandBoxDuration,
);