MetalAttr.from(Map<String, dynamic>? attr) : url = attr?['url'] ?? '', backcolor = attr?['backcolor'] ?? '', fontcolor = attr?['fontcolor'] ?? '';