getHeight function

String? getHeight(
  1. String text
)

Implementation

String? getHeight(String text) {
  RegExp heightRegex = RegExp(r"Height @@ (.+) @@");

  String? height = heightRegex.firstMatch(text)?.group(1);

  print("Height: $height");
  return height;
}