copyWith method

BoolEntity copyWith({
  1. int? code,
  2. bool? data,
  3. String? message,
})

Implementation

BoolEntity copyWith({
  int? code,
  bool? data,
  String? message,
}) {
  return BoolEntity()
    ..code = code ?? this.code
    ..data = data ?? this.data
    ..message = message ?? this.message;
}