SectionMaintainer class
Maintains marker-based sections inside source files.
Sections are identified using paired markers:
// <fkit:imports>
// </fkit:imports>
Content can be appended safely without duplicating existing entries.
Constructors
- SectionMaintainer()
-
Creates a section maintainer.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appendToSection(
{required String filePath, required String marker, required String content}) → Future< void> -
Appends
contentinside the section identified bymarker. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited