menu
ulink_cli package
documentation
import/fdl_mapper.dart
FdlMapper class
FdlMapper class
dark_mode
light_mode
FdlMapper
class
Constructors
FdlMapper
()
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
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 Methods
deriveSlug
(
Map
<
String
,
dynamic
>
fdl
,
int
index
)
→
String
Derive a short-code slug. If the original FDL short link is known we reuse its path so existing printed/QR/deep-linked URLs keep the same suffix; otherwise we deterministically derive one from the index so re-runs are stable.
mapToUlink
(
Map
<
String
,
dynamic
>
fdl
, {
required
String
domain
,
int
index
=
0
,
String
?
slug
})
→
Map
<
String
,
dynamic
>
Map a canonical FDL link to a ULink link definition.
ulink_cli package
documentation
import/fdl_mapper
FdlMapper class
fdl_mapper library