copyWith method

SimInfo copyWith({
  1. List<SIMType>? sims,
})

copyWith is the function to copy the class.

Implementation

SimInfo copyWith({
  List<SIMType>? sims,
}) {
  return SimInfo(
    sims: sims ?? this.sims,
  );
}