ApptiveLink.fromJson constructor
ApptiveLink.fromJson(
- dynamic json
Creates a ApptiveLink from json
Expect uri in a field called href
and method in a field called method
Implementation
factory ApptiveLink.fromJson(dynamic json) {
return ApptiveLink(
uri: Uri.parse(json['href'] ?? json['url'] ?? json['uri']),
method: json['method'],
);
}