Create an Attribute from an integer value.
Attribute.fromInt(this.key, int this.value) { if (key == null) { throw ArgumentError("key can't be null."); } }