SocialMedia constructor
const
SocialMedia({
- required String username,
- Label<
SocialMediaLabel> ? label, - PropertyMetadata? metadata,
Implementation
const SocialMedia({
required this.username,
Label<SocialMediaLabel>? label,
this.metadata,
}) : label = label ?? const Label(SocialMediaLabel.other);