toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'userName': userName,
      'label': _socialMediaLabelToString[label],
      'customLabel': customLabel,
    };