WebScript constructor

WebScript({
  1. required String name,
  2. required String script,
})

Implementation

WebScript({
  required this.name,
  required this.script,
}) : assert(name.isNotEmpty && script.isNotEmpty);