fromJson static method
Returns a new DeviceLinksSelf instance and imports its values from
json
if it's non-null, null if json
is null.
Implementation
static DeviceLinksSelf? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return DeviceLinksSelf(
href: json[r'href'],
iriTemplate: DeviceLinksSelfIriTemplate.fromJson(json[r'iriTemplate']),
);
}