setUserDataCommandToProto static method

FBSetUserDataRequest setUserDataCommandToProto(
  1. FBSetUserDataCommand command
)

Implementation

static ProtoSUD.FBSetUserDataRequest setUserDataCommandToProto(
  FBSetUserDataCommand command,
) {
  return ProtoSUD.FBSetUserDataRequest(
    type: _userTypeToProto(command.type),
    value: command.value,
  );
}