Instance constructor

const Instance({
  1. required String name,
  2. required List<Property> properties,
  3. bool trailingComma = true,
})

Create a new instance of Instance

name specifies the name of the runtime instance which will be create for the Flutter instance of class Container, name would be Container as well

properties specifies the properties set for the instance. e.g., the instance SizedBox(width: 20), would have one Property width.

Implementation

const Instance({
  required this.name,
  required this.properties,
  this.trailingComma = true,
});