MaterialCompilerRegistry constructor

MaterialCompilerRegistry([
  1. Iterable<MaterialCompiler> compilers = const []
])

A registry holding compilers, registered in order, so a later one for the same backend wins.

Implementation

MaterialCompilerRegistry([Iterable<MaterialCompiler> compilers = const []]) {
  compilers.forEach(add);
}