Skip to main content

API Reference

Classes

Number

Number.

Static Functions

NameDescription
fromJson
Parse a number from Json.
fromStr
Parse a number from string.

fromJson
num.fromJson(json: Json, options?: JsonValidationOptions);

Parse a number from Json.

jsonRequired

to parse number from.


optionsOptional

fromStr
num.fromStr(str: str);

Parse a number from string.

strRequired
  • Type: str

to parse number from.