toJson method

dynamic toJson()

Implementation

toJson() => {
      'userId': userId,
      'userName': userName,
      'avatar': avatar,
      'userMoney': money,
      'time': time,
    };