Architecture.fromString constructor

Architecture.fromString(
  1. String name
)

Creates an Architecture from the given name.

The name can be obtained from Architecture.name or Architecture.toString.

Implementation

factory Architecture.fromString(String name) =>
    ArchitectureSyntax.fromSyntax(syntax.Architecture.fromJson(name));