AuthenticateFacebookRequest constructor

AuthenticateFacebookRequest({
  1. AccountFacebook? account,
  2. BoolValue? create_2,
  3. String? username,
  4. BoolValue? sync,
})

Implementation

factory AuthenticateFacebookRequest({
  AccountFacebook? account,
  $1.BoolValue? create_2,
  $core.String? username,
  $1.BoolValue? sync,
}) {
  final _result = create();
  if (account != null) {
    _result.account = account;
  }
  if (create_2 != null) {
    _result.create_2 = create_2;
  }
  if (username != null) {
    _result.username = username;
  }
  if (sync != null) {
    _result.sync = sync;
  }
  return _result;
}