fromJson static method
Implementation
static BaseTabModel fromJson(Map<String, dynamic> json) {
try {
return BaseTabModel(
order: json['order'] as int,
title: json['title'] as String,
children: (json['children'] ?? []) as List<Widget>,
);
} catch (e) {
return BaseTabModel.empty();
}
}