instance property

GatewayService get instance

Implementation

static GatewayService get instance {
  if (_instance == null) {
    throw Exception(
      'GatewayService não foi inicializado! Chame GatewayService.init() primeiro.',
    );
  }
  return _instance!;
}