CropTransformationOptions class

Configuration options for trimming data from the beginning or end.

Removes specified portions from strings, lists, or other sequential data. Similar to string trim but with configurable start/end positions.

Example usage:

// Remove first 10 characters/items
CropTransformationOptions(cropStart: 10)

// Remove last 20 characters/items
CropTransformationOptions(cropEnd: 20)

Constructors

CropTransformationOptions.new({int? cropStart, int? cropEnd})
CropTransformationOptions.fromJson(String source)
factory
CropTransformationOptions.fromMap(Map<String, dynamic> map)
factory

Properties

cropEnd int?
The ending position for cropping (0-based index).
final
cropStart int?
The starting position for cropping (0-based index).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited