stubShape property

String get stubShape

Constructs a string stub for the shape, if one is provided and non-null.

Implementation

String get stubShape => switch (shape) {
  null => '',
  final String s => 'shape=${quote(s)}',
};