MidtransConfig constructor

MidtransConfig(
  1. {@required String clientKey,
  2. @required String merchantBaseUrl,
  3. String language: "id",
  4. MidtransColorTheme colorTheme: const MidtransColorTheme()}
)

Implementation

MidtransConfig({
  @required this.clientKey,
  @required this.merchantBaseUrl,
  this.language = "id",
  this.colorTheme = const MidtransColorTheme(),
});