NSDecimalNumberBehaviors class interface
NSDecimalNumberBehaviors
- Implementers
Constructors
- NSDecimalNumberBehaviors.castFrom(ObjCObjectBase other)
-
Constructs a NSDecimalNumberBehaviors that points to the same underlying object as
other. -
NSDecimalNumberBehaviors.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSDecimalNumberBehaviors that wraps the given raw object pointer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- $protocol → Protocol
-
Returns the
objc.Protocolobject for this protocol.no setter -
exceptionDuringOperation_error_leftOperand_rightOperand_
→ ObjCProtocolMethod<
NSDecimalNumber? Function(Pointer< ObjCSelector> , NSCalculationError, NSDecimalNumber, NSDecimalNumber?)> -
exceptionDuringOperation:error:leftOperand:rightOperand:
final
-
roundingMode
→ ObjCProtocolMethod<
NSRoundingMode Function()> -
roundingMode
final
-
scale
→ ObjCProtocolMethod<
int Function()> -
scale
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required NSRoundingMode roundingMode(), required int scale(), required NSDecimalNumber? exceptionDuringOperation_error_leftOperand_rightOperand_(Pointer< ObjCSelector> , NSCalculationError, NSDecimalNumber, NSDecimalNumber?), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSDecimalNumberBehaviors protocol to an existing
objc.ObjCProtocolBuilder. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSDecimalNumberBehaviors. -
implement(
{required NSRoundingMode roundingMode(), required int scale(), required NSDecimalNumber? exceptionDuringOperation_error_leftOperand_rightOperand_(Pointer< ObjCSelector> , NSCalculationError, NSDecimalNumber, NSDecimalNumber?), bool $keepIsolateAlive = true}) → NSDecimalNumberBehaviors -
Builds an object that implements the NSDecimalNumberBehaviors protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.