setPath method

void setPath(
  1. String path
)

Sets the path property

Implementation

void setPath(String path) {
  assert(path.isNotEmpty, 'Path must not be null or empty');
  payload[EAPropertyKey.PAGE_PATH] = '${path.startsWith('/') ? '' : '/'}$path';
}