onClose method

void onClose(
  1. GlassfyTransaction? transaction,
  2. dynamic error
)

Implementation

void onClose(GlassfyTransaction? transaction, dynamic error) async {
  if (onCloseCallback != null) {
    onCloseCallback!(transaction, error);
  }
}