MessageProcessor class
Utility class for processing SMS messages
Constructors
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
-
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
Static Methods
-
extractBondedAccountNo(
String accountNo) → String - Extracts account number from bonded string (e.g., "ac1234" -> "1234")
-
getNextWords(
String source, String searchWord, [int count = 1]) → String - Gets next words after a search word
-
getProcessedMessage(
dynamic message) → List< String> - Gets processed message as a list of words
-
isNumber(
dynamic val) → bool - Checks if a value is numeric
-
padCurrencyValue(
String val) → String - Pads currency value to 2 decimal places
-
processMessage(
String message) → List< String> - Processes a message string into an array of words
-
trimLeadingAndTrailingChars(
String str) → String - Trims leading and trailing non-numeric characters