factory GearOption.fromJson(Map<String, dynamic> json) => GearOption( key: json["key"], item: Item.fromJson(json["item"]), amount: json["amount"]?.toDouble() ?? 1.0, );