toJson method

Map<String, dynamic> toJson()

Converts user to the map representation, encodable to JSON.

Implementation

Map<String, dynamic> toJson() => _$UserToJson(this);