instance property
BeautifulPopupTemplate
get
instance
Implementation
BeautifulPopupTemplate get instance {
final build = _build;
if (build != null) return build(this);
switch (template) {
case TemplateOrangeRocket:
return TemplateOrangeRocket(this);
case TemplateGreenRocket:
return TemplateGreenRocket(this);
case TemplateOrangeRocket2:
return TemplateOrangeRocket2(this);
case TemplateCoin:
return TemplateCoin(this);
case TemplateBlueRocket:
return TemplateBlueRocket(this);
case TemplateThumb:
return TemplateThumb(this);
case TemplateGift:
return TemplateGift(this);
case TemplateCamera:
return TemplateCamera(this);
case TemplateNotification:
return TemplateNotification(this);
case TemplateGeolocation:
return TemplateGeolocation(this);
case TemplateSuccess:
return TemplateSuccess(this);
case TemplateFail:
return TemplateFail(this);
case TemplateAuthentication:
return TemplateAuthentication(this);
case TemplateTerm:
return TemplateTerm(this);
case TemplateRedPacket:
default:
return TemplateRedPacket(this);
}
}