getHeight method

double? getHeight()

Implementation

double? getHeight() {
  return size == null ? 0 : size!.height;
}