put method

User put(
  1. dynamic data
)

Integrates data (string or object) in a node and saves them to the User, synchronizing the peers of a network.

Implementation

User put(dynamic data) {
  final user = _user.put(dartToJs(data));
  return User._(user);
}