copyWith method

InitResultEntity copyWith({
  1. bool? success,
  2. int? errorCode,
  3. String? errorMsg,
})

Implementation

InitResultEntity copyWith({
  bool? success,
  int? errorCode,
  String? errorMsg,
}) =>
    InitResultEntity(
      success: success ?? this.success,
      errorCode: errorCode ?? this.errorCode,
      errorMsg: errorMsg ?? this.errorMsg,
    );