fromResponse static method

AuthenticationInfoEntity fromResponse({
  1. required LoginResponse response,
})

Implementation

static AuthenticationInfoEntity fromResponse({
  required LoginResponse response,
}) =>
    AuthenticationInfoEntity(
      token: response.token,
      isSalesRep: response.salesRep ?? false,
    );