links property
Links related to this object.
Implementation
@override
Links get links {
final data = meta['links'];
if (data is Iterable<dynamic>) {
try {
return Links.fromJson(data);
} on FormatException {
// nop, could not parse, but then let empty links to be returned
}
}
return const Links.empty();
}