toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
      "userId": userId,
      "targetUserId": targetUserId,
      "targetProductId": targetProductId,
      "targetCategoryId": targetCategoryId,
    };