Shortcut.fromJson constructor

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

Implementation

factory Shortcut.fromJson(Map<String, dynamic> json) {
  return Shortcut(
    name: json['name'] as String,
    url: json['url'] as String,
  );
}