Extract and return the image context
Map<String, String> get customContext { if (context['custom'] != null) return Map.castFrom(context['custom']); return {}; }