fromBrick static method
Implementation
static Future<MasonGenerator> fromBrick(Brick brick) async {
final path = brick.location.path != null
? brick.location.path!
: (await BricksJson.temp().add(brick)).path;
return MasonGenerator._fromBrick(path);
}