resolveBackgroundAttachment static method

dynamic resolveBackgroundAttachment(
  1. String value
)

Implementation

static resolveBackgroundAttachment(String value) {
  switch (value) {
    case LOCAL:
      return CSSBackgroundAttachmentType.local;
    case FIXED:
      return CSSBackgroundAttachmentType.fixed;
    case SCROLL:
    default:
      return CSSBackgroundAttachmentType.scroll;
  }
}