copyWith method

Session copyWith({
  1. bool? $new,
  2. String? sessionId,
  3. Map<String, dynamic>? attributes,
  4. Application? application,
  5. User? user,
})

Implementation

Session copyWith(
    {bool? $new,
    String? sessionId,
    Map<String, dynamic>? attributes,
    Application? application,
    User? user}) {
  return Session(
      $new: $new ?? this.$new,
      sessionId: sessionId ?? this.sessionId,
      attributes: attributes ?? this.attributes,
      application: application ?? this.application,
      user: user ?? this.user);
}