SimpleLink.fromJson constructor
Implementation
factory SimpleLink.fromJson(Map<String, Object?> json) {
return SimpleLink(
href: json[r'href'] as String?,
iconClass: json[r'iconClass'] as String?,
id: json[r'id'] as String?,
label: json[r'label'] as String?,
styleClass: json[r'styleClass'] as String?,
title: json[r'title'] as String?,
weight: (json[r'weight'] as num?)?.toInt(),
);
}