UserState.error constructor

const UserState.error([
  1. String? error
])

Implementation

const factory UserState.error([String? error]) = UserErrorState;