copyWith abstract method

  1. @useResult
EmailAuth copyWith({
  1. int? id,
  2. int? userId,
  3. String? email,
  4. String? hash,
})

Returns a shallow copy of this EmailAuth with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
EmailAuth copyWith({
  int? id,
  int? userId,
  String? email,
  String? hash,
});