copyWith method

OtherInfo copyWith({
  1. String? fullName,
  2. String? mail,
  3. String? phoneNumber,
})

Implementation

OtherInfo copyWith({
  String? fullName,
  String? mail,
  String? phoneNumber,
}) =>
    OtherInfo(
      fullName: fullName ?? this.fullName,
      mail: mail ?? this.mail,
      phoneNumber: phoneNumber ?? this.phoneNumber,
    );