MetalAttr.from constructor

MetalAttr.from(
  1. Map<String, dynamic>? attr
)

Implementation

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