fromInt method

NotusAttribute<int> fromInt(
  1. int value
)

Creates a color attribute with specified color value.

Implementation

NotusAttribute<int> fromInt(int value) =>
    NotusAttribute<int>._(key, scope, value);