getContentType abstract method
Extracts the content type from a raw content map.
Retrieves the message type identifier (e.g., "01" for text, "88" for command) from a raw content map with a fallback default value if the type field is missing.
content is the raw content map containing the type metadata.
defaultValue is the fallback value if the type is not found.
Returns the extracted content type (or defaultValue if not present).
Implementation
String? getContentType(Mapping content, [String? defaultValue]);