execute method

void execute()

Implementation

void execute() {
  if (type == 'call' && onComplete != null) {
    onComplete!(data['args'] ?? {});
  }
}