copyWith method

GetUser copyWith({
  1. int? userId,
})

Implementation

GetUser copyWith({
  int? userId,
}) =>
    GetUser(
      userId: userId ?? this.userId,
    );