AuthToken constructor

AuthToken({
  1. String? accessToken,
  2. String? userToken,
  3. String? dashboardToken,
})

Implementation

factory AuthToken({
  $core.String? accessToken,
  $core.String? userToken,
  $core.String? dashboardToken,
}) {
  final _result = create();
  if (accessToken != null) {
    _result.accessToken = accessToken;
  }
  if (userToken != null) {
    _result.userToken = userToken;
  }
  if (dashboardToken != null) {
    _result.dashboardToken = dashboardToken;
  }
  return _result;
}