MBAutomationView constructor

MBAutomationView({
  1. required String view,
  2. Map<String, dynamic>? metadata,
})

Initializes a view with the parameters passed. Timestamp is set with DateTime.now(). @param view The name of the view. @param metadata Additional metadata for the view.

Implementation

MBAutomationView({
  required this.view,
  this.metadata,
})  : id = null,
      timestamp = DateTime.now();