toJson method

Map<String, dynamic> toJson()

Converts this DataUser to a json representation

Implementation

Map<String, dynamic> toJson() => {
      'displayValue': displayValue,
      'uri': uri.toString(),
    };