matchSinglePrefixedField method

String? matchSinglePrefixedField(
  1. String prefix,
  2. String rawText,
  3. String endChar,
  4. bool trim,
)

Implementation

String? matchSinglePrefixedField(
  String prefix,
  String rawText,
  String endChar,
  bool trim,
) {
  final List<String>? matches =
      matchPrefixedField(prefix, rawText, endChar, trim);
  return matches == null ? null : matches[0];
}