Layer constructor Null safety

Layer()

Creates an instance of Layer.

Implementation

Layer() {
  if (kFlutterMemoryAllocationsEnabled) {
    MemoryAllocations.instance.dispatchObjectCreated(
      library: _flutterRenderingLibrary,
      className: '$Layer',
      object: this,
    );
  }
}