Organisationsnummer class

Constructors

Organisationsnummer(String org)
Organisationsnummer constructor.

Properties

hashCode int
The hash code for this object.
no setterinherited
number String
The organization number.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

format([bool separator = true]) String
Format Swedish organization numbers to official format.
isPersonnummer() bool
Determine if personnummer or not.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
personnummer() → Personnummer?
Get Personnummer instance.
toString() String
A string representation of this object.
inherited
type() String
Get the organization type.
vatNumber() String
Get vat number for a organization number.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(String org) Organisationsnummer
Parse Swedish organization numbers. Returns Organisationsnummer class.
valid(String org) bool
Validates Swedish organization numbers. Returns true if the org value is a valid Swedish organization number