API Reference
Classes
Number
Number.
Static Functions
Name | Description |
---|---|
| Parse a number from Json. |
| Parse a number from string. |
fromJson
num.fromJson(json: Json, options?: JsonValidationOptions);
Parse a number from Json.
json
Required
- Type: Json
to parse number from.
options
Optional
- Type: JsonValidationOptions
fromStr
num.fromStr(str: str);
Parse a number from string.
str
Required
- Type: str
to parse number from.