car_doctor_epass_services 1.0.2 copy "car_doctor_epass_services: ^1.0.2" to clipboard
car_doctor_epass_services: ^1.0.2 copied to clipboard

The Car Services SDK is a Flutter package for Epass Car Services.

The Car Services SDK is a Flutter package for Epass Car Services

Getting started #

Environment: sdk: '>=2.12.0 <3.0.0'

Import package into pubspec.yaml

dependencies:
  car_doctor_epass_services: ^0.0.5

Usage #

Usage:

  • SDK has 2 types of Flavor : PRODUCTION & STAGING
//add function
String? EncryptionData;
String contractId;
String name;
String phone;
String identifier;
Future<void> openSDK(BuildContext context) async {
  final sdk = SdkCarServices.instance;
  sdk.init(
      SdkFlavor.PRODUCTION, epassToken, contractId, name, phone, identifier);
  await sdk.open(context);
}
// in your button's code,add function
openSDK(context);

Additional information #