copyWith method

UserLink copyWith({
  1. String? url,
  2. int? expiresIn,
  3. bool? canGetPermanentLink,
})

Implementation

UserLink copyWith({
  String? url,
  int? expiresIn,
  bool? canGetPermanentLink,
}) =>
    UserLink(
      url: url ?? this.url,
      expiresIn: expiresIn ?? this.expiresIn,
      canGetPermanentLink: canGetPermanentLink ?? this.canGetPermanentLink,
    );