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;
}