MultiLineString constructor

MultiLineString(
  1. List<LineString> lines
)

Implementation

MultiLineString(this.lines) {
  if (lines.length == 0) {
    throw new CloudBaseException(
      code: CloudBaseExceptionCode.INVALID_PARAM,
      message: 'MultiLineString must contain 1 linestring at least',
    );
  }
}