Mixin constructor

Mixin({
  1. String? name,
  2. String? root,
})

Implementation

factory Mixin({
  $core.String? name,
  $core.String? root,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (root != null) {
    _result.root = root;
  }
  return _result;
}