factory Painter.fromJson(Map<String, dynamic> json) => Painter.fromBase64(json['content'] as String);