UpAppBarItem.fromJson constructor

UpAppBarItem.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UpAppBarItem.fromJson(Map<String, dynamic> json) {
  UpAppBarItem appBarItem = UpAppBarItem(
    icon: json['icon'],
    title: json['title'],
  );
  return appBarItem;
}