isValid property

bool get isValid

Validate configuration

Implementation

bool get isValid {
  return merchantId.isNotEmpty &&
         apiUsername.isNotEmpty &&
         apiPassword.isNotEmpty &&
         gatewayUrl.isNotEmpty &&
         merchantName.isNotEmpty &&
         merchantUrl.isNotEmpty;
}