toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'number': number,
      'normalizedNumber': normalizedNumber,
      'label': _phoneLabelToString[label],
      'customLabel': customLabel,
      'isPrimary': isPrimary,
    };