Session constructor

Session({
  1. bool? created,
  2. String? token,
  3. String? refreshToken,
})

Implementation

factory Session({
  $core.bool? created,
  $core.String? token,
  $core.String? refreshToken,
}) {
  final _result = create();
  if (created != null) {
    _result.created = created;
  }
  if (token != null) {
    _result.token = token;
  }
  if (refreshToken != null) {
    _result.refreshToken = refreshToken;
  }
  return _result;
}