LinkService constructor

LinkService({
  1. required String accessToken,
  2. LinkEnvironment environment = LinkEnvironment.sandbox,
})

Implementation

LinkService({
  required this.accessToken,
  this.environment = LinkEnvironment.sandbox,
}) {
  _host = environment == LinkEnvironment.production
      ? 'api.link.money'
      : 'api.link-sandbox.money';
}