Map<String, dynamic> toMapPlatform(String key) { if (Platform.isIOS) { return toHexMap(key); } return toMap(key); }