LayoutError.length constructor

LayoutError.length(
  1. Layout a,
  2. Layout b, [
  3. String? name
])

Constructs an error indicating incompatible lengths.

Implementation

LayoutError.length(Layout a, Layout b, [String? name])
    : super('$a and $b have incompatible length: ${a.length} and ${b.length}',
          name);