DataModify.insertString constructor

DataModify.insertString(
  1. dynamic value, {
  2. String fromPath = '',
  3. int? start,
  4. int? end,
  5. int? index = 0,
})

Implementation

DataModify.insertString(
  dynamic value, {
  this.fromPath = '',
  this.start,
  this.end,
  this.index = 0,
}) : type = 'insert string' {
  _checkValue(value);
  assert(fromType != null, 'string cannot get a value');
}