Ltrim constructor

Ltrim({
  1. @required dynamic input,
  2. dynamic chars,
})

Creates $ltrim operator expression

Removes whitespace characters, including null, or the specified characters from the beginning of a string.

  • input - The string to trim. The argument can be any valid expression that resolves to a string.
  • chars - Optional. The character(s) to trim from the beginning of the input. The argument can be any valid expression that resolves to a string. The $ltrim operator breaks down the string into individual UTF code point to trim from input. If unspecified, $ltrim removes whitespace characters, including the null character.

Implementation

Ltrim({@required input, chars})
    : super('ltrim', AEObject({'input': input, 'chars': chars}));