copyWith method

StoneCredentialsModel copyWith({
  1. String? stoneCode,
  2. String? qrCodeAuthorization,
  3. String? qrCodeProviderid,
  4. String? appName,
})

Implementation

StoneCredentialsModel copyWith({
  String? stoneCode,
  String? qrCodeAuthorization,
  String? qrCodeProviderid,
  String? appName,
}) {
  return StoneCredentialsModel(
    stoneCode: stoneCode ?? this.stoneCode,
    qrCodeAuthorization: qrCodeAuthorization ?? this.qrCodeAuthorization,
    qrCodeProviderid: qrCodeProviderid ?? this.qrCodeProviderid,
    appName: appName ?? this.appName,
  );
}