joinedConstructerParams property

Code get joinedConstructerParams

Implementation

Code get joinedConstructerParams {
  final constructorParams = _extractViewConstructerParametersNames();

  final constructor = Block.of([
    Code("${hasConstConstructor == true ? 'const' : ''}  "),
    Reference(className.key, className.value).code,
    Code(
        "(${constructorParams.join(',')})${(hasWrapper) ? ".wrappedRoute(context)" : ""}")
  ]);
  return constructor;
}