Map<String, dynamic> toJson() => { "address": address, "peripheral": peripheral, "autoConnect": autoConnect, };